C Programming The type of the controlling expression of a switch statement cannot be of the type ........ char int short float long char int short float long ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is None of these strstr() strrchr() strnstr() laststr() None of these strstr() strrchr() strnstr() laststr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } 3 hello Compiler Error None of these Linking error 3 hello Compiler Error None of these Linking error ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. None of these. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. None of these. The same as int *p[ ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 10 Run time error 20 20 10 20 10 10 Run time error 20 20 10 20 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 14 12 Garbage Value 13 15 14 12 Garbage Value 13 ANSWER DOWNLOAD EXAMIANS APP