C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 17 19 -1 20 16 17 19 -1 20 16 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Unary-operator Conditional operator Comma operator Assignment operator Division operator Unary-operator Conditional operator Comma operator Assignment operator Division operator 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]); }} None of these The code is erroneous since the statement declaring array is invalid. The code is erroneous since the values of array are getting scanned through the loop. 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. None of these The code is erroneous since the statement declaring array is invalid. The code is erroneous since the values of array are getting scanned through the loop. 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
C Programming What is the maximum number of dimensions an array in C may have? 20 Theoratically no limit. The only practical limits are memory size and compilers. 50 8 2 20 Theoratically no limit. The only practical limits are memory size and compilers. 50 8 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 4 4, 4 2, 0 2, 2 0, 2 2, 4 4, 4 2, 0 2, 2 0, 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 5 Error 4 6 5 Error 4 6 ANSWER DOWNLOAD EXAMIANS APP