Next: Printing Up: Introduction to C++ Previous: Introduction to C++

The Increment Operator

The C/C++ statement


i++;
is a short-hand notation for

i = i + 1;


walter@
Wed Aug 10 11:53:26 PDT 1994