C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); -1 0 33 Compilation Error 1 -1 0 33 Compilation Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 5 None of These 6 7 5 None of These 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 11 11 11 22 13 14 14 12 10 11 13 22 12 12 13 22 14 12 13 22 11 11 11 22 13 14 14 12 10 11 13 22 12 12 13 22 14 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command has # as the first character need not start on a new line comes before the first executable statement need not start on the first column has # as the first character need not start on a new line comes before the first executable statement need not start on the first column 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=0 Error x=1 x=5 x=4 x=0 Error x=1 x=5 x=4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 garbage values Error 0 0 0 1 1 1 garbage values Error 0 0 0 ANSWER DOWNLOAD EXAMIANS APP