Channi Studies

[C++] Compund Assignment Operator 본문

C++/기타

[C++] Compund Assignment Operator

Chan Lee 2023. 12. 7. 17:23

lhs op= rhs

의 방식으로 작동한다.

ex) cost += item * tax                    // cost = cost + (item * tax)