Electronics Circuits & Tutorials
Electronics Circuits & Tutorials

Tutorials

     more....

Dictionaries

     more....

Projects
Home > Electronics Tutorials > C Language Tutorial > Operators - Postfix

C Language Programming Library Reference Guide

Operators - Postfix

Postfix operators are operators that are suffixed to an expression. operand++;
This causes the value of the operand to be returned. After the result is obtained, the value of the operand is incremented by 1. operand--;
This is the same but the value of the operand is decremented by 1.

Examples:

int joe=3;
joe++;
The value of joe is now 4. printf("%i",joe++); This outputs the number 4. The value of joe is now 5.
Note: To report broken links or to submit your projects, tutorials please email to Webmaster

Circuits
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
Discover

     more......

Copyright © 1999-2011 www.hobbyprojects.com  (All rights reserved)