C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 4 Error 5 6 4 Error 5 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? Garbage Value 1 3 0 2 Garbage Value 1 3 0 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Compiler Error 20 Linker Error 2 Compiler Error 20 Linker Error 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 6 7 It will not compile because not enough initializers are given 24 12 6 7 It will not compile because not enough initializers are given 24 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} None of these. Equal Unequal Error None of these. Equal Unequal Error 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));} 100 g##g2 10012 Runtime error Syntax error 100 g##g2 10012 Runtime error Syntax error ANSWER DOWNLOAD EXAMIANS APP