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;} 5 Error 6 None of these 9 5 Error 6 None of these 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 3, c = 8 b = 3, c = 6 b = 4, c = 6 a = 4, c = 8 a = 4, c = 6 a = 3, c = 8 b = 3, c = 6 b = 4, c = 6 a = 4, c = 8 a = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 9 10 11 None of these. 9 10 11 None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} None of These 64 4 16 None of These 64 4 16 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} Run time error 20 20 10 10 10 20 Run time error 20 20 10 10 10 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. I, II, III and IV II and III I and II I, II and III II, III and IV I, II, III and IV II and III I and II I, II and III II, III and IV ANSWER DOWNLOAD EXAMIANS APP