C Programming The type of the controlling expression of a switch statement cannot be of the type ........ float int short long char float int short long char ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} Error 10..10 0 10..50 Error 10..10 0 10..50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; 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. ptr is a pointer to integer, p is not. 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 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 II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} Some Address will be printed None of These Hello H Some Address will be printed None of These Hello H ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of conditional compilation All of these Takes care of macros Takes care of include files Acts before compilation Takes care of conditional compilation All of these Takes care of macros Takes care of include files Acts before compilation ANSWER DOWNLOAD EXAMIANS APP