C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 5 4 6 Error 5 4 6 Error 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 and III I, II, III and IV I and II II, III and IV II and III I, II and III I, II, III and IV I and II II, III and IV II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 2 0.25 1 0.5 9 2 0.25 1 0.5 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 0 100 100 5 100 100 100 100 5 0 20 5 0 100 100 0 100 100 5 100 100 100 100 5 0 20 5 0 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 0..0 0..1 1..0 1..1 0..0 0..1 1..0 1..1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} Compiler Error None of These mmmm nnnn aaaa mmm nnn aaa Compiler Error None of These mmmm nnnn aaaa mmm nnn aaa ANSWER DOWNLOAD EXAMIANS APP