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 1 0.5 0.25 9 2 1 0.5 0.25 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means p is one dimensional array of size 5, of pointers to integers. The same as int *p[ p is a pointer to a 5 elements integer array. None of these. p is one dimensional array of size 5, of pointers to integers. The same as int *p[ p is a pointer to a 5 elements integer array. None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... Data file stderr no such function in 'C'. string stdin Data file stderr no such function in 'C'. string stdin ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 12 11 1 Error 12 11 1 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? int char float real double int char float real double ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Error None of These Ok here Forget it Error None of These Ok here Forget it ANSWER DOWNLOAD EXAMIANS APP