C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 Compilation Error -1 33 1 0 Compilation Error -1 33 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 16 -1 20 19 17 16 -1 20 19 17 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 4 10 5 3 4 10 5 4 3 10 5 3 3 10 5 5 5 10 5 4 4 10 5 3 4 10 5 4 3 10 5 3 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? continue break skip resume None of these continue break skip resume None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} Error 1 -2 2 Error 1 -2 2 ANSWER DOWNLOAD EXAMIANS APP