C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 6 1 10 None of these 0 6 1 10 None of these 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 0 0 0 Error 1 1 1 garbage values 0 0 0 Error 1 1 1 garbage values ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? All of these The operand can come before or after the operator It cannot be applied to an expression It associates from the right It is a unary operator All of these The operand can come before or after the operator It cannot be applied to an expression It associates from the right It is a unary operator ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? Theoratically no limit. The only practical limits are memory size and compilers. 8 20 2 50 Theoratically no limit. The only practical limits are memory size and compilers. 8 20 2 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 5 6 7 Runtime error Syntax error 4 1 2 3 4 4 5 6 7 Runtime error Syntax error 4 1 2 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? It will not compile because not enough initializers are given 24 7 6 12 It will not compile because not enough initializers are given 24 7 6 12 ANSWER DOWNLOAD EXAMIANS APP