The sign which use for increment Operator is ++. There are two types of Increment operator, one is Prefix Increment operator and the second is Postfix Increment operator. The Prefix Increment operator (++a) and the Postfix increment operator is (a++). The Prefix increment follow the rule " change then use " while Postfix follow the rule " Use then change ". In Prefix condition first the variable value change and then used and in Postfix condition the variable value used first and then change .
- Blogger Comment
- Facebook Comment
Subscribe to:
Post Comments
(
Atom
)
0 comments:
Post a Comment