C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 10 15 12 11 10 15 12 11 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 );} 0.5 1 0.25 9 2 0.5 1 0.25 9 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... no such function in 'C'. string stdin stderr Data file no such function in 'C'. string stdin stderr Data file ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 5 5 10 5 4 3 10 5 4 4 10 5 3 4 10 5 3 3 10 5 5 5 10 5 4 3 10 5 4 4 10 5 3 4 10 5 3 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values 1 1 1 Error 0 0 0 garbage values 1 1 1 Error 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} Compiler Error mmm nnn aaa mmmm nnnn aaaa None of These Compiler Error mmm nnn aaa mmmm nnnn aaaa None of These ANSWER DOWNLOAD EXAMIANS APP