what is meant by post decrement
Answers
Answer:
Explanation:
(computing) A decrement operation that takes place after evaluation of the expression that contains the variable being decremented.
Pre Decrement:
In this,
Operation like subtraction and addition occurs first then value is assigned to the variable.
For Eg:
If x = 20
- - x : Here, operation will occur first means 19 then it will get assign to the variable x.
Post decrement:
In this,
Initially value is assigned to the variable first then operation occurs.
For Eg:If x = 20
x - - : Here, Value 20 is assigned to x first then opeation that is subtration will occur which will result in 19.
Note : The thing to notice here is that you have to be careful while solving algebric expressions.
Hope I made u understand something.
Bava Out
Peace
follow me and don't forget to rate my answer and Mark my answer as brainlist..