Answers for "->operator cpp"

C++
1

What is the "-->" operator in C/C++?

--> is not an operator. It is in fact two separate operators, -- and >.

The conditional's code decrements x, while returning x's original (not decremented) value, and then compares the original value with 0 using the > operator.

To better understand, the statement could be written as follows:

while( (x--) > 0 )
Posted by: Guest on December-23-2021
0

>> c++

std::cout, << is used to write to standard output
std::cin,  >> is used to read from standard input.
Posted by: Guest on December-05-2021

Browse Popular Code Answers by Language