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 5 5 5 5 None of these Compilation Error 5 4 3 2 1 Infinite Loop 5 5 5 5 5 None of these Compilation Error 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? main() start() printf() system() getch() main() start() printf() system() getch() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 12 15 10 11 12 15 10 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? * + None of these / % * + None of these / % ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World Compilation Error None of these. will print garbage value will print Hello World Compilation Error None of these. will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 1 11 Error 12 1 11 Error 12 ANSWER DOWNLOAD EXAMIANS APP