C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 2 1 1 2 2 2 1 1 2 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 6 Garbage Value 5 Compiler Error 6 Garbage Value 5 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A number A special symbol other than underscore An alphabet Both of the above A number A special symbol other than underscore An alphabet Both of the above ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 0 Garbage value 0 0 Garbage Value Garbage vlaue Garbage Value Code will not compile 0 0 Garbage value 0 0 Garbage Value Garbage vlaue Garbage Value Code will not compile ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 20 Compiler Error Linker Error 2 20 Compiler Error Linker Error 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 0..1 0..0 1..1 1..0 0..1 0..0 1..1 1..0 ANSWER DOWNLOAD EXAMIANS APP