devxlogo

Using the ++ Operator

Using the ++ Operator

The ++ operator can be used in prefix and postfix. When it is used as a preifx , its value is evaluated first, then the statement is executed. For example:

 int i=1;cout

size=3>
The first

devx-admin

Share the Post: