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 1 2 2 2 2 1 1 1 1 2 2 2 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of macros Takes care of include files Takes care of conditional compilation Acts before compilation All of these Takes care of macros Takes care of include files Takes care of conditional compilation Acts before compilation All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 53 65 65 65 065 65 Syntax error 053 65 53 65 65 65 065 65 Syntax error 053 65 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 11, 11 10, 10 11, 10 10, 11 11, 11 10, 10 11, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Compiler time error Undefined behavior 10 Segmentation fault/runtime crash Compiler time error Undefined behavior 10 Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 0 None of These 2 Garbage Value 0 None of These 2 Garbage Value ANSWER DOWNLOAD EXAMIANS APP