C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 12 1 Error 11 12 1 Error 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54554 45545 54544 55445 54554 45545 54544 55445 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 );} 9 0.25 1 2 0.5 9 0.25 1 2 0.5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} 65480, 65496 65474, 65488 65480, 65488 65474, 65476 None of these 65480, 65496 65474, 65488 65480, 65488 65474, 65476 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} Error 10..10 0 10..50 Error 10..10 0 10..50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 50, 13, 24, 50 13, 13, 24, 13 50, 13, 24, 13 13, 10, 24, 50 50, 13, 11, 13 50, 13, 24, 50 13, 13, 24, 13 50, 13, 24, 13 13, 10, 24, 50 ANSWER DOWNLOAD EXAMIANS APP