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 2 0.25 0.5 9 1 2 0.25 0.5 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=1 sizeof(i)=2 Compiler Error None of These sizeof(i)=1 sizeof(i)=2 Compiler Error None of These 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..1 1..0 0..0 0..1 1..1 1..0 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 mmmm nnnn aaaa None of These mmm nnn aaa Compiler Error mmmm nnnn aaaa None of These mmm nnn aaa ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Block scope No scope at all Local scope File scope Function scope Block scope No scope at all Local scope File scope Function scope ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 1 100 Error 1 100 Error ANSWER DOWNLOAD EXAMIANS APP