C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Compiler Error Garbage Value 5 6 Compiler Error Garbage Value 5 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about the program below?#includevoid main(){ int size, i; scanf("%d", &size); int arr[size]; for(i=1; i<=size; i++) { scanf("%d", arr[i]); printf("%d", arr[i]); }} The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is erroneous since the values of array are getting scanned through the loop. None of these The code is erroneous since the statement declaring array is invalid. The code is correct and runs successfully. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is erroneous since the values of array are getting scanned through the loop. None of these The code is erroneous since the statement declaring array is invalid. The code is correct and runs successfully. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 20 24 None of these 30 25 20 24 None of these 30 25 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45445 45545 54554 54544 45445 45545 54554 54544 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Partitioning the string into two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Combining two strings. Merging two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Combining two strings. Merging two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} None of These 0 0 0 0 5 4 3 2 1 Infinite Loop None of These 0 0 0 0 5 4 3 2 1 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP