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 );} 2 1 0.25 0.5 9 2 1 0.25 0.5 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by value call by reference call by value result None of these. call by value call by reference call by value result None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } None of these 1 10 14 0 None of these 1 10 14 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} 16 None of These 64 4 16 None of These 64 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = -1, +i = -1 i = -1, +i = 1 None of These i = 1, +i = 1 i = -1, +i = -1 i = -1, +i = 1 None of These i = 1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop Compilation Error 5 5 5 5 5 None of these 5 4 3 2 1 Infinite Loop Compilation Error 5 5 5 5 5 None of these 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP