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 g##g2 100 10012 Runtime error Syntax error g##g2 100 10012 Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 7 Compiler Error 5 6 0 7 Compiler Error 5 6 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 1289 0713 Syntax error 713 0289 1289 0713 Syntax error 713 0289 ANSWER DOWNLOAD EXAMIANS APP
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 4 3 2 1 5 5 5 5 5 Compilation Error None of these Infinite Loop 5 4 3 2 1 5 5 5 5 5 Compilation Error None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} None of These 10 20 30 40 50 Garbage Value Error 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value Error 10 20 30 40 50 10 20 30 40 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 9 Error None of these 6 5 9 Error None of these 6 5 ANSWER DOWNLOAD EXAMIANS APP