Computer Science, asked by mouryakrishnegowda, 6 months ago

Give the output of the following expression a=5 . a++ + ++a +--a+ a --;​

Answers

Answered by BrainlyProgrammer
4

Answer:

given \: a = 5

a++ + ++a +--a+ a --;

5+7+6+6; //now a's value is 5

24

Answered by anindyaadhikari13
2

Question ?

  • Give the output of the following expression.

Solution:-

Given,

a=5

a++ + ++a + --a + a--

=5+7+6+6

=12+12

=24.

Hence, the final value of a after execution is 24.

Output:-

24

Similar questions