C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} None of these Good Morning Good Morning M None of these Good Morning Good Morning M ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 3 Compilation error a[0] = 2 a[1] = 3 a[1] = 2 a[0] = 3 Compilation error a[0] = 2 a[1] = 3 a[1] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of conditional compilation Takes care of macros Acts before compilation All of these Takes care of include files Takes care of conditional compilation Takes care of macros Acts before compilation All of these Takes care of include files 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? 7 12 6 24 It will not compile because not enough initializers are given 7 12 6 24 It will not compile because not enough initializers are given ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 1 10 6 None of these 0 1 10 6 None of these 0 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 Syntax error Runtime error g##g2 10012 100 Syntax error Runtime error g##g2 10012 ANSWER DOWNLOAD EXAMIANS APP