For more free Urdu Tutorials click here: http://bit.ly/ZcRlXc
Like us on facebook: http://on.fb.me/13Z3CqS
Follow us on twitter: http://bit.ly/13Z3LKP
This video is about C Programming Language Increment and Decrement Operator in Urdu. In this Urdu Tutorials Series I teach you how to program in C programming language.
This urdu tutorials video is about Increment and Decrement Operator. C offers two unusual and unique operators ++ and — called increment and decrement operator respectively. The use of these two operators will results in the value of the variable being incremented or decremented by unity. i=i+1 can be written as i++ and j=j-1 can be written as j—.
The operators can be place either before or after the operand. If the operator is placed before the variable (++I or --I) it is known as pre incrementing or pre decrementing.
If the operator is placed after the variable (I++ or I--) it is known as post incrementing or post decrementing.
Pre incrementing or pre decrementing or post incrementing or post decrementing have different effect when used in expression. In the pre increment or pre decrement first the value of operand is incremented or decremented then it is assigned.