Try to solve the challenge by yourself first. Don’t execute over compiler.
1. Compile-time error
2. Run time error
5. Didn't click
Sometimes, we over observe the challenge and get confused. Here it’s a simple series of unary operators which needs to perform the operation one by one. So the code looks like —
int i= 9 + (+10) - (-11) + (+13) + (-14);
This will sum up to
29 . That’s all. Thanks for your time.