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=4 x=5 Error x=0 x=1 x=4 x=5 Error x=0 x=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Exam_veda Exam veda Both A and B None of these Examians Exam_veda Exam veda Both A and B None of these Examians ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? _examians exam_veda examians1 1examians _examians exam_veda examians1 1examians ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} zero Error three None of These zero Error three None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 6 a = 3, c = 8 b = 3, c = 6 a = 4, c = 8 b = 4, c = 6 a = 4, c = 6 a = 3, c = 8 b = 3, c = 6 a = 4, c = 8 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 Runtime error Syntax error 4 5 6 7 1 2 3 4 4 Runtime error Syntax error 4 5 6 7 1 2 3 4 ANSWER DOWNLOAD EXAMIANS APP