“- ->” operator in C and C++
Actually, “- – >” is not an operator, but this is combination of two separate operators, “- -” and “>” . So, if you write it as It will print following output, 9 8 7 6 5 4 3 2 1 0 Because conditional’s code decrements x, while (x- – > 0) Statement could be written as follows:… Read More »