C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} 12 14 11 Compilation error 13 12 14 11 Compilation error 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command comes before the first executable statement need not start on the first column has # as the first character need not start on a new line comes before the first executable statement need not start on the first column has # as the first character need not start on a new line ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 2, 3 1, 4 1 None of these 2, 4 2, 3 1, 4 1 None of these 2, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 3, c = 8 b = 4, c = 6 a = 4, c = 6 b = 3, c = 6 a = 4, c = 8 a = 3, c = 8 b = 4, c = 6 a = 4, c = 6 b = 3, c = 6 a = 4, c = 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Values of the first elements of the array. Address of the array. Address of the first element of the array. Number of element of the array. Values of the first elements of the array. Address of the array. Address of the first element of the array. Number of element of the array. 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 statement declaring array is invalid. 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 correct and runs successfully. 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. None of these The code is erroneous since the subscript for array used in for loop is in the range 1 to size. ANSWER DOWNLOAD EXAMIANS APP