C++/기타

[C++] Compund Assignment Operator

Chan Lee 2023. 12. 7. 17:23

lhs op= rhs

의 λ°©μ‹μœΌλ‘œ μž‘λ™ν•œλ‹€.

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