C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 0 None of these 1 1 0 1 1 0 0 0 None of these 1 1 0 1 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 0 6 5 Garbage Value None of these 0 6 5 Garbage Value None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} Syntax error 10012 Runtime error g##g2 100 Syntax error 10012 Runtime error g##g2 100 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 Compiler Error 50 10 None of These Compiler Error 50 10 ANSWER DOWNLOAD EXAMIANS APP
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 x=4 x=5 Error x=1 x=0 x=4 x=5 Error x=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 0 5.600000 Complier error 5 5.600000 6 5.600000 0 5.600000 Complier error 5 5.600000 6 5.600000 ANSWER DOWNLOAD EXAMIANS APP