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? 6 It will not compile because not enough initializers are given 12 24 7 6 It will not compile because not enough initializers are given 12 24 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff1 fff3 fff2 fff0 fff4 fff1 fff3 fff2 fff0 fff4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } haasi absiha asiha hai None of these haasi absiha asiha hai None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 I, II and III I, III and IV III and IV I and II II and III I, II and III I, III and IV III and IV I and II II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 1 0.25 0.5 9 2 1 0.25 0.5 9 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Unary-operator Assignment operator Division operator Conditional operator Comma operator Unary-operator Assignment operator Division operator Conditional operator Comma operator ANSWER DOWNLOAD EXAMIANS APP