C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 1 2 2 1 2 1 1 2 1 2 2 1 2 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? case register auto default main case register auto default main ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 5 6 7 4 Syntax error Runtime error 1 2 3 4 4 5 6 7 4 Syntax error Runtime error 1 2 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 10 14 0 1 10 14 0 1 ANSWER DOWNLOAD EXAMIANS APP
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]){} 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]){} void fun(int *p[][4]){} void fun(int *p[3][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? There is no difference between them. A definition occurs once, but a declaration may occur many times. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. There is no difference between them. A definition occurs once, but a declaration may occur many times. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. ANSWER DOWNLOAD EXAMIANS APP