What is i+++ increment in c++

前端 未结 3 1522
别跟我提以往
别跟我提以往 2021-01-01 06:19

can anyone tell me what is the process of i+++ increment in c++.

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-01 06:33

    if you mean i++ then its incrementing the value of i once its value has been read. As an example:

    int i = 0;   // i == 0
    int j = i++; // j == 0, i == 1
    

提交回复
热议问题