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 );} 9 2 0.25 0.5 1 9 2 0.25 0.5 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 1 0 0 1 1 1 0 0 None of these 1 0 0 1 1 1 0 0 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is legal but meaningless is syntactically and semantically correct is illegal None of these. is legal but meaningless is syntactically and semantically correct is illegal None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 15 11 None of these 12 10 15 11 None of these 12 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns 0 1 None of these -1 true 0 1 None of these -1 true ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 10 14 0 1 10 14 0 1 ANSWER DOWNLOAD EXAMIANS APP