C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=5 x=1 x=4 Error x=0 x=5 x=1 x=4 Error x=0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} 12 11 14 Compilation error 13 12 11 14 Compilation error 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 Infinite Loop None of these 5 4 3 2 1 Compilation Error 5 5 5 5 5 Infinite Loop None of these 5 4 3 2 1 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 10 11, 11 10, 10 10, 11 11, 10 11, 11 10, 10 10, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 3 8 None of these 8 3 3 7 7 3 3 8 None of these 8 3 3 7 7 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming In C programming language, which of the following type of operators have the highest precedence Relational operators Arithmetic operators Equality operators Logical operators Relational operators Arithmetic operators Equality operators Logical operators ANSWER DOWNLOAD EXAMIANS APP