C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 8 5 5 2 4 4 2 4 5 2 5 5 8 5 5 2 4 4 2 4 5 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; 1 2 0 3 1 2 0 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} 64 16 None of These 4 64 16 None of These 4 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));} Syntax error 100 10012 g##g2 Runtime error Syntax error 100 10012 g##g2 Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} 11 13 12 None of These 11 13 12 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP