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 9 0.25 0.5 2 1 9 0.25 0.5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 6 None of these 10 0 1 6 None of these 10 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 450 110 -10 -110 10 450 110 -10 -110 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. There is no difference between them. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. There is no difference between them. A declaration occurs once, but a definition may occur many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } hai None of these haasi asiha absiha hai None of these haasi asiha absiha ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} Runtime error Syntax error 100 g##g2 10012 Runtime error Syntax error 100 g##g2 10012 ANSWER DOWNLOAD EXAMIANS APP