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=0 Error x=5 x=4 x=1 x=0 Error x=5 x=4 x=1 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);} 053 65 53 65 065 65 65 65 Syntax error 053 65 53 65 065 65 65 65 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These 10 Compiler Error 50 None of These 10 Compiler Error 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor 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 Takes care of macros Takes care of include files Takes care of conditional compilation ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? efg defg cdefg bcdefg fg efg defg cdefg bcdefg fg 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);} 8 3 None of these 7 3 3 7 3 8 8 3 None of these 7 3 3 7 3 8 ANSWER DOWNLOAD EXAMIANS APP