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

Ans

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

given printf statement as ++a + ++b + b++ where a=5. b=6 then ++a means preincrement and value is 6. and now ++b and value is 7 and b++then before we have value 7in b since it is post increment the value will be 7 only and after that it increments. then now values are ++a + ++b + b++ 6+7+7=19

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