C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 6 5 4 Error 6 5 4 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) pow(2, x) pow(x, 2) power(2, x) sqr(x) power(x, 2) pow(2, x) pow(x, 2) power(2, x) sqr(x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? exam_veda examians1 _examians 1examians exam_veda examians1 _examians 1examians ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} hello 5 Error None of These hello garbage value hello 5 Error None of These hello garbage value 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 );} 0.5 9 0.25 1 2 0.5 9 0.25 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff0 fff3 fff1 fff4 fff2 fff0 fff3 fff1 fff4 fff2 ANSWER DOWNLOAD EXAMIANS APP