C Programming The type of the controlling expression of a switch statement cannot be of the type ........ float short int long char float short int long char ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error h Garbage Value hi followed by garbage value hi Error h Garbage Value hi followed by garbage value hi ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 II and III I, II and III I and II III and IV I, III and IV II and III I, II and III I and II III and IV I, III and IV 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);} 12 14 Compilation error 11 13 12 14 Compilation error 11 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: *float ptr; float *ptr; float ptr; None of these *float ptr; float *ptr; float ptr; None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 2 2 3 2 4 3 4 3 3 2 2 2 3 2 4 3 4 3 3 ANSWER DOWNLOAD EXAMIANS APP