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 );} 1 0.25 9 2 0.5 1 0.25 9 2 0.5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Enhances the logical clarity of the program. Makes the debugging task easier. Helps to avoid repeated programming across programs. All of these Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Makes the debugging task easier. Helps to avoid repeated programming across programs. All of these Helps to avoid repeating a set of statements many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} Some address will be printed make an infinite loop Error None of These Some address will be printed make an infinite loop Error 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);} 4 None of These 64 16 4 None of These 64 16 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 13 Compilation error 12 14 11 13 Compilation error 12 14 11 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 10 20 10 10 20 20 Run time error 10 20 10 10 20 20 ANSWER DOWNLOAD EXAMIANS APP