C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); -1 0 33 1 Compilation Error -1 0 33 1 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These sizeof(i)=1 Compiler Error sizeof(i)=2 None of These sizeof(i)=1 Compiler Error sizeof(i)=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ int char short long float int char short long float ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} Error None of These three zero Error None of These three zero 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); 14 12 13 Garbage Value 15 14 12 13 Garbage Value 15 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 0 0 0 Error 1 1 1 garbage values 0 0 0 Error 1 1 1 ANSWER DOWNLOAD EXAMIANS APP