Computer Science, asked by vrindashageela1174, 19 days ago

difference between pre increment and post increment

Answers

Answered by ItzDinu
5

\huge{ \pmb{ \frak{ \underline{ \color{blue}{❥Answer}}}}}

\impliesPre-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.

  • Please Drop Some Thanks.
Answered by rajeshrkrkraju
0

Explanation:

Pre increment operator is used to increment variable value by 1 before assigning the value to the variable.

Post increment operator is used to increment variable value by 1 after assigning the value to the variable.

Similar questions