i++ vs ++i , what are the difference and how to use them?

后端 未结 0 1788
北荒
北荒 2021-02-14 14:15

Deduce the output of the following code segment. (C++). I am still confused with this operator. Any help would be great. Thanks in advance

int i=2, j=3;
cout <         


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