C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error -1 33 1 0 Compilation Error -1 33 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} Error A c 65 Error A c 65 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 6 7 5 4 None of these 6 7 5 4 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is illegal is legal but meaningless is syntactically and semantically correct None of these. is illegal is legal but meaningless is syntactically and semantically correct None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} Compiler Error 6 5 7 0 Compiler Error 6 5 7 0 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 values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. None of these The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. None of these The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is correct and runs successfully. ANSWER DOWNLOAD EXAMIANS APP