C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} g##g2 100 10012 Syntax error Runtime error g##g2 100 10012 Syntax error Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} None of These N P M None of These N P M ANSWER DOWNLOAD EXAMIANS APP
C Programming If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 0 2 1 3 0 2 1 3 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? 24 7 6 It will not compile because not enough initializers are given 12 24 7 6 It will not compile because not enough initializers are given 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? || ++ && % + || ++ && % + ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} Hello World None of these WorldHello World Hello Hello World None of these WorldHello World Hello ANSWER DOWNLOAD EXAMIANS APP