C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 54554 45545 45445 54544 54554 45545 45445 ANSWER DOWNLOAD EXAMIANS APP
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 0.5 0.25 1 9 2 0.5 0.25 1 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The program will not enter into the loop. A run time error will be generated. There will be a compilation error reported. Prints the value of 0 one time only. The loop will run infinitely many times. The program will not enter into the loop. A run time error will be generated. There will be a compilation error reported. Prints the value of 0 one time only. The loop will run infinitely many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 19 -1 20 16 17 19 -1 20 16 17 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? char double int real float char double int real float ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} None of these 20 24 30 25 None of these 20 24 30 25 ANSWER DOWNLOAD EXAMIANS APP