C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 0 Compilation Error -1 1 33 0 Compilation Error -1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A special symbol other than underscore An alphabet Both of the above A number A special symbol other than underscore An alphabet Both of the above A number ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=4 Error x=1 x=5 x=0 x=4 Error x=1 x=5 x=0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 15 12 13 Garbage Value 14 15 12 13 Garbage Value 14 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();} 5 4 3 2 1 Infinite Loop Compilation Error None of these 5 5 5 5 5 5 4 3 2 1 Infinite Loop Compilation Error None of these 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} Complier error -10 to 0 -10 to -1 -10 to infinite Complier error -10 to 0 -10 to -1 -10 to infinite ANSWER DOWNLOAD EXAMIANS APP