C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); -1 0 Compilation Error 33 1 -1 0 Compilation Error 33 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is pointer to integer, p may or may not be. ANSWER DOWNLOAD EXAMIANS APP
C Programming Who is father of C Language? Gosling James F. Codd Dennis Ritchie Bjarne Stroustrup Dr. Gosling James F. Codd Dennis Ritchie Bjarne Stroustrup Dr. ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} Syntax error g##g2 Runtime error 100 10012 Syntax error g##g2 Runtime error 100 10012 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 Garbage Value Code will not compile Garbage vlaue Garbage Value 0 0 Garbage value 0 0 Garbage Value Code will not compile Garbage vlaue Garbage Value 0 0 Garbage value 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 216 – 1 215 – 1 215 216 None of these 216 – 1 215 – 1 215 216 None of these ANSWER DOWNLOAD EXAMIANS APP