(i) Give the output of the following expression :
a+=a++ + ++a + -–a + a-– ;
when a = 7
Answers
Answered by
115
Ans.
a+=a++ + ++a + –-a + a–- ;
a = 7 + (a++ + ++a + -–a + a–-);
a = 7 + (7 + 9 + 8 + 8);
a = 39
Answered by
15
39
Its first we have to increment and again increment followed by two decrement ....
Its first we have to increment and again increment followed by two decrement ....
Similar questions
Science,
7 months ago
Math,
7 months ago
Social Sciences,
7 months ago
Geography,
1 year ago
Math,
1 year ago