a++ + ++b%a-- + a if a=15 and b=6
Answers
Answered by
5
To solve:-
- a++ + ++b%a-- + a
Given:-
- a=15
- b=6
a++ + ++b% a-- + a
15 + 7%16 +15
15+ 7 +15
37
Required Answer:-
- 37
Always Remember!
- Prefix Operators :- They increase/decrease their value before moving forward. ++x,--x are prefix increment/decrement operator .
- Postfix Operators :- They increase/decrease their value after moving forward. ++x,--x are prefix increment/decrement operator .
Operator Precedence
Similar questions