C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); -1 Compilation Error 0 33 1 -1 Compilation Error 0 33 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 1 1 2 2 1 2 2 1 1 1 2 2 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } te et ow ck te et ow ck ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The loop will run infinitely many times. A run time error will be generated. Prints the value of 0 one time only. There will be a compilation error reported. The program will not enter into the loop. The loop will run infinitely many times. A run time error will be generated. Prints the value of 0 one time only. There will be a compilation error reported. The program will not enter into the loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 14 Compilation error 12 13 11 14 Compilation error 12 13 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ long float char short int long float char short int ANSWER DOWNLOAD EXAMIANS APP