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

前端 未结 0 1731
自闭症患者
自闭症患者 2020-12-23 00:51

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



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