C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 6 4 Error 5 6 4 Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error 0 -1 1 33 Compilation Error 0 -1 1 33 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} None of These 6 5 7 None of These 6 5 7 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 correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. 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 erroneous since the statement declaring array is invalid. The code is correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. 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 erroneous since the statement declaring array is invalid. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? skip break None of these continue resume skip break None of these continue resume ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} arr[6] arr[7] None of these arr{7} arr{6} arr[6] arr[7] None of these arr{7} ANSWER DOWNLOAD EXAMIANS APP