1. Home
  2. Computing & Technology
  3. C / C++ / C#

Definition of Post Increment

By David Bolton, About.com

Definition: In C, C++ and C#, it is possible to increment a variable in an expression. Post Increment means that the variable is incremented after the expression is evaluated. E.g.
int OldValue = 9;
int BigValue = OldValue++;
OldValue is now 10, but BigValue is 9, the value of OldValue before it was incremented.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Examples:
for (int i=0; i< 10; i++)
{
printf("Hello") ;
}
Explore C / C++ / C#
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Glossary
  5. Post Increment - Definition

©2009 About.com, a part of The New York Times Company.

All rights reserved.