One of the solution which you have posted in "Multiple choice C++ question" is wrong.
/*question number 10*/
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
The correct answer will be 22,13,14,14
Because if you look at the operator precedence then PreIncerement operator has higher precedence than print operator. Therefore, when we write printf("%d,%d,%d,%d",b,a++,a,++a);
so here 'a++' then '++a' gets executed and then 'a' gets executed therefore we get result as 22,13,14,14.
Hope you will correct this.