C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Undefined behavior Compiler time error 10 Segmentation fault/runtime crash Undefined behavior Compiler time error 10 Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; None of these. is illegal is legal but meaningless is syntactically and semantically correct None of these. is illegal is legal but meaningless is syntactically and semantically correct ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} None of these Exam Veda Exam Exam\0Veda Veda None of these Exam Veda Exam Exam\0Veda Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 11 Compilation error 14 12 13 11 Compilation error 14 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} Garbage Value None of These 1 10 Garbage Value None of These 1 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 2 2 2 1 1 2 1 1 2 2 2 1 1 2 1 ANSWER DOWNLOAD EXAMIANS APP