Type of Decrement Operator
pre-decrement
post-decrement
Pre-decrement (-- variable)
In pre-decrement first, decrement the value of the variable and then used it inside the expression (initialize into another variable).
Syntax
-- variable;
post-decrement (variable --)
In Post-decrement first value of the variable is used in the expression (initialize into another variable) and then decrement the value of a variable.
Syntax
variable --;
__________
creating prefix and postfix forms of the increment & decrement operator in c++
difference between postfix and prefix in c++
difference between prefix and postfix in c++
difference between prefix and postfix increment in c++
difference between prefix and postfix operators in c++
infix postfix prefix in c++
infix to prefix and postfix program in c++
postfix and prefix expression in c++
postfix and prefix in c++ with examples
postfix vs prefix operator in c++
prefix and postfix expressions in c++
prefix and postfix increment and decrement operators in c++
__________
Subscribe and like to my channel!!!!!!!!!!!!!!
• Lecture #21-#Prefix and #Postfix decrement...
increment and decrement operators in c c programming c language c tutorial