Computer Science, asked by Anujithmd, 1 year ago

what is difference between ++x and x++ in c programming?

Answers

Answered by Anonymous
1
++x is preincrement and x++ is postincrement
Answered by lokramnaickpagnn4
2
++x is called pre-increment while x++ is called postincrement. Both will add 1 to the variable but there is a difference in the result of the statement. check this out.. x++ increments the value of variable x after processing the current statement.
Similar questions