Networking, Programming and Graphics Tutorials

Prefix and postfix operators - C++ [1/1]

Type:
Prefix and postfix operators - C++
Level: Beginner Networking, Programming and Graphics Tutorials 
Prefix and postfix operators - C++
Date: 2006-Dec-04
Prefix and postfix operators - C++
Visited: 869 times
Prefix and postfix operators - C++
Rating: Prefix and postfix operators - C++
Prefix and postfix operators - C++
Author: Alex Plumpton

The increment and decrement operators can either be used as a prefix or a postfix to the variable. ++ variable and variable ++ have different meaning. The prefix operator ++ variable or —- variable first increments or decrements the value as the case may be, and then assigns the value to the variable. On the contrary, the postfix operator variable ++ or variable -- first assigns the value, and then increments and decrements the value of the variable.

Prefix and postfix operators - C++
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - Prefix and postfix operators - C++ [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: prefix and postfix in c++  prefix, postfix in c++  c++ postfix prefix  postfix prefix example c++  prefix to postfix c++  prefix ++ and postfix ++ c++  prefix postfix operator c++  prefix and postfix operator in c++  prefix and postfix in C programming  promming for prefix to postfix  postfix prefix c++ calculation  prefix & postfix in for loop c++  how to change prefix to postfix c++ programming  prefix or postfix ++ operator in "for loop"  postfix operators c++  C operators prefix tutorial  prefix c++  postfix C++ for loop  prefix variables c++  prefix operator c++