For example in the following line that we often encounter with the C++ programming language, there is the accumulation of two different operators, first – and then >.
while (x --> 0) {
The correct writing of the coding line above should be in fact :
while( (x--) > 0 ) {
There is first a decrement condition and then a comparison opetator.
Note: Commissions may be earned from the links above.
This page contains references to products from one or more of our advertisers. We may receive compensation when you click on links to those products. For an explanation of our advertising policy, please visit this page.