Computer Science, asked by padhytanmayee, 5 months ago

write a program to show the difference between pre- increment and post- increment​

Answers

Answered by manshi007963
0

Answer:

Pre-increment and Post-increment concept in C/C++?

Decrement operator decrease the value by one. Pre-increment (++i) − Before assigning the value to the variable, the value is incremented by one. Post-increment (i++) − After assigning the value to the variable, the value is incremented.

Answered by rosypie
0

Answer:

Increment operators are used to increase the value by one while decrement works opposite increment. ... Pre-increment (++i) − Before assigning the value to the variable, the value is incremented by one. Post-increment (i++) − After assigning the value to the variable

Similar questions