Tagged “c++”
What an operation actually is in C++
The three roles in 2 + 3 (operands, operator, return value), why std::cout << 5 counts as an operation too, and why a literal and a variable can produce the same output.
The three roles in 2 + 3 (operands, operator, return value), why std::cout << 5 counts as an operation too, and why a literal and a variable can produce the same output.