W3Ask






HOME  >  PROGRAMMING  >  GLOBAL PROGRAMMING

Name of the “–>” operator in C++




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.








Related posts:


No related posts.