i j in C is a suffix auto-increment operator, which represents the following operations: 1. The value of i is first increased by 1 to become i 1. 2. The value of i 1 is then assigned to j, so j's The value also becomes i 1.
The meaning of i j in C
In C, i j is a suffix The auto-increment operator represents the following operation: The value of
Execution sequence example:
Assume i = 3, j = 5.
i j: The value of
Note:
Sample code:
<code class="cpp">int main() { int i = 3; int j = 5; i+++j; // i = 4, j = 4 return 0; }</code>
The above is the detailed content of The meaning of i+++j in c++. For more information, please follow other related articles on the PHP Chinese website!