C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop 5 4 3 2 1 5 5 5 5 5 Compilation Error None of these Infinite Loop 5 4 3 2 1 5 5 5 5 5 Compilation Error None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Exam veda None of these Both A and B Examians Exam_veda Exam veda None of these Both A and B Examians Exam_veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 None of These 50 Compiler Error 10 None of These 50 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED ERROR RED WHITE BLUE RED WHITE BLUE ERROR ERROR RED RED ERROR RED WHITE BLUE RED WHITE BLUE ERROR ERROR RED ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} Compiler Error None of These GOOD BAD GOOD Compiler Error None of These GOOD BAD GOOD ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} 12PP345 None of These 12PP Compiler Error 12PP345 None of These 12PP Compiler Error ANSWER DOWNLOAD EXAMIANS APP