What is the difference between “++” and “+= 1 ” operators?

前端 未结 0 702
逝去的感伤
逝去的感伤 2020-12-23 00:35

In a loop in C++, I usually encounter situations to use ++ or +=1, but I can\'t tell their difference. For instance, if I have an integer



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题