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 2 1 0.25 0.5 9 2 1 0.25 ANSWER DOWNLOAD EXAMIANS APP
C Programming An array elements are always stored in ________ memory locations. None of these Sequential Random Sequential and Random None of these Sequential Random Sequential and Random ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 1 0 10 14 1 0 10 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 2 Garbage Value 0 None of These 2 Garbage Value 0 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 13 Garbage Value 15 12 14 13 Garbage Value 15 12 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Makes the debugging task easier. All of these Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. Makes the debugging task easier. All of these Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. ANSWER DOWNLOAD EXAMIANS APP