Skip to content

Latest commit

 

History

History
38 lines (21 loc) · 575 Bytes

File metadata and controls

38 lines (21 loc) · 575 Bytes

 

 

 

 

 

 

operator+= is the operator to add a variable's value by a certain value, without making a copy.

 


#include <cassert> int main() {   int x = 3;   x+=5;   assert(x == 8); }