C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int *p[][4]){} None of these void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int *p[][4]){} None of these void fun(int p[][4]){} 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 III and IV I, III and IV II and III I and II I, II and III III and IV I, III and IV II and III I and II I, II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means None of these. p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. The same as int *p[ None of these. p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. The same as int *p[ ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} Error 4 5 6 Error 4 5 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 10 10, 11 11, 11 11, 10 10, 10 10, 11 11, 11 11, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. II, III and IV II and III I and II I, II, III and IV I, II and III II, III and IV II and III I and II I, II, III and IV I, II and III ANSWER DOWNLOAD EXAMIANS APP