C Programming Choose the best answer.Prior to using a pointer variable It should be declared. It should be initialized. None of these. It should be both declared and initialized. It should be declared. It should be initialized. None of these. It should be both declared and initialized. 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 III and IV I and II II and III I, III and IV I, II and III III and IV I and II II and III I, III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} Compilation error a[1] = 2 a[0] = 2 a[1] = 3 a[0] = 3 Compilation error a[1] = 2 a[0] = 2 a[1] = 3 a[0] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by value call by value result call by reference None of these. call by value call by value result call by reference None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Error None of these. Will make an infinite loop. Some address will be printed. Error None of these. Will make an infinite loop. Some address will be printed. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} None of These 64 16 4 None of These 64 16 4 ANSWER DOWNLOAD EXAMIANS APP