Assignment Operator
int c = 0;
std::cout << (c = 10) << std::endl;
10
Let's say we have an assignment expression c = 10
then it evaluates to 10
.
int c = 0;
std::cout << (c = 10) << std::endl;
10
Let's say we have an assignment expression c = 10
then it evaluates to 10
.