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 None of these 5 4 3 2 1 Compilation Error 5 5 5 5 5 Infinite Loop None of these 5 4 3 2 1 Compilation Error 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 0713 713 1289 Syntax error 0289 0713 713 1289 Syntax error 0289 ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 14 12 13 22 13 14 14 22 11 11 11 12 10 11 13 22 12 12 13 22 14 12 13 22 13 14 14 22 11 11 11 12 10 11 13 22 12 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } None of these int funct(); void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } None of these int funct(); void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 1 1 2 2 1 2 2 1 1 1 2 2 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 64 None of These 4 16 64 None of These 4 16 ANSWER DOWNLOAD EXAMIANS APP