#include<stdio.h>intmain(){ int a=5,b=6; printf("%d",++a + ++b + b++); return0;

Ans

  • Latha
  • 28 फरवरी
  • 8695 दृश्य
  • 118 उत्तर
Your Answer

1. Value of a will be (after pre Increment ) 6 2. b after pre Increment 7 3. Here the value of b was 7 in the previous Increment therefore it will become 8 but as it is post Increment first the math will get solved i.e 6+7+7 = 20 Answer is 20

0
  • it should be from right to left and not vice versa

tcs
मॉक परीक्षण अभ्यास के लिए
tcs