Computer Science, asked by manojgodsora231, 1 month ago

What is the difference between + and ++operator?​

Answers

Answered by Samarth2011THEBEST
0

Answer:

Explanation:

1. Increment Operators: The increment operator is used to increment the value of a variable in an expression. In the Pre-Increment, value is first incremented and then used inside the expression. Whereas in the Post-Increment, value is first used inside the expression and then incremented.

2. Decrement Operators: The decrement operator is used to decrement the value of a variable in an expression. In the Pre-Decrement, value is first decremented and then used inside the expression. Whereas in the Post-Decrement, value is first used inside the expression and then decremented.

Similar questions