C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 12 12 13 12 10 11 13 22 13 14 14 22 14 12 13 22 11 11 11 22 12 12 13 12 10 11 13 22 13 14 14 22 14 12 13 22 11 11 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 4 3 4 2 2 3 3 2 3 2 4 3 4 2 2 3 3 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 11 6 5 9 10 11 6 5 9 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It is a unary operator The operand can come before or after the operator It cannot be applied to an expression All of these It associates from the right It is a unary operator The operand can come before or after the operator It cannot be applied to an expression All of these It associates from the right ANSWER DOWNLOAD EXAMIANS APP
C Programming If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 1 3 2 0 1 3 2 0 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 );} 0.25 2 0.5 1 9 0.25 2 0.5 1 9 ANSWER DOWNLOAD EXAMIANS APP