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 Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 4 10 5 4 3 10 5 5 5 10 5 3 4 10 5 3 3 10 5 4 4 10 5 4 3 10 5 5 5 10 5 3 4 10 5 3 3 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 I and II III and IV II and III I, III and IV I, II and III I and II III and IV II and III I, III and IV I, II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming In C programming language, which of the following type of operators have the highest precedence Logical operators Arithmetic operators Equality operators Relational operators Logical operators Arithmetic operators Equality operators Relational operators ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of include files All of these Acts before compilation Takes care of macros Takes care of conditional compilation Takes care of include files All of these Acts before compilation Takes care of macros Takes care of conditional compilation 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);} 14 Compilation error 12 13 11 14 Compilation error 12 13 11 ANSWER DOWNLOAD EXAMIANS APP