C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 5 6 6 7 11 6 12 7 6 6 5 6 6 7 11 6 12 7 6 6 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 What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;int value;printf("Enter your age:");value=scanf("%f", &age);if(value==0){printf("\\nYour age is not valid");}AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("\\n You have lived for %f seconds", AgeInSeconds);} Enter your age: xyz You have lived for 0 seconds Complier error Enter your age : xyz Your age is not valid Enter your age: xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds Complier error Enter your age : xyz Your age is not valid Enter your age: xyz Your age is not valid ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 None of These 5 4 3 2 1 Infinite Loop 5 5 5 5 5 None of These 5 4 3 2 1 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? auto main register case default auto main register case default ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It is a unary operator It associates from the right The operand can come before or after the operator All of these It cannot be applied to an expression It is a unary operator It associates from the right The operand can come before or after the operator All of these It cannot be applied to an expression ANSWER DOWNLOAD EXAMIANS APP