Increment operator is one that increases the value of its operator by 1 where as decrement operator is one that decreases the value of its operand by 1. There are mainly two types of operators one is pre and the other is post.
p = 5;
q = ++p; =>p is now 6, q is also 6
q = p++; =>p is now 7, q is 6
p = 10;
q = p--; => p is now 9, q is 10
q = --p; =>p is now 8, q is also 8
Sorry, but you are not allowed to view signatures , please Register or Login