Computer Science, asked by ashokkumarbaidya5590, 4 hours ago

++a + ++b - C--; (where
a=5,b=6,c=7) output will be
*​

Attachments:

Answers

Answered by abhinavmike85
0

\huge{✪}\huge{\underline{\mathcal{Answer}}}

6 is the right answer

\huge{✪}\huge{\underline{\mathcal{Steps}}}

\large{☞}++a will give 6

\large{☞}++b will give 7

\large{☞}++a + ++b will give 13

\large{☞}++a + ++b - c-- will give 6 because the value of c that will be subtracted from ++a + ++b will be 7 only as it post decrement not pre decrement.

\large{☞}So,++a + ++b - c-- will give 6

Similar questions
Math, 7 months ago