+ 1
operators
how do you follow the operation eg x+=y--
3 Answers
+ 7
that is called operator precedence.
You can look up a table in any language ;)
Here is the one for C
https://en.cppreference.com/w/c/language/operator_precedence
+ 2
Rishabh Chatterjee For the example you gave, x will be incremented by the current value of y, and y will be decreased by 1.
In general, you follow order of operations and then go from left to right.
0
Int num1=8.
Int num2=42
Int num1__num2;
Hot today
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
2 Votes
Python palindrome challenge.
1 Votes
Java
0 Votes
Number of Ones ( C++ ) question!
1 Votes