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 1 2 3 4 Runtime error 4 5 6 7 Syntax error 4 1 2 3 4 Runtime error 4 5 6 7 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 10 Garbage Value 1 None of These 10 Garbage Value 1 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Error Ok here Forget it None of These Error Ok here Forget it None of These 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; }} GOOD BAD Compiler Error GOOD None of These GOOD BAD Compiler Error GOOD None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: float *ptr; None of these float ptr; *float ptr; float *ptr; None of these float ptr; *float ptr; 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");} None of These Compiler Error 12PP 12PP345 None of These Compiler Error 12PP 12PP345 ANSWER DOWNLOAD EXAMIANS APP