Computer Science, asked by debashreeghosh, 1 year ago

Write 4 points of
difrence between prefix increment and postfix increment

Answers

Answered by nancyyy
2
1).Prefix increament are added before the operator whereas postfix increment is added after the operator.

2). prefix increment operator uses the increment sign ahead while postfix increment operator uses the sign after the numbers
 

3).Prefix operator directly increase its value whereas postfix value does not directly increase its value.

4).Prefix operator does not store its value whereas postfix operator store its value and execute it in next iteration.

debashreeghosh: I have asked you the difference between prefix increment and postfix increment and not prefix decrement
nancyyy: ohh..only my 2nd point is wrong then
nancyyy: wait a sec
debashreeghosh: Thanks
debashreeghosh: I will be grateful
nancyyy: Ur welcome:-) But really 4 diff are diff to answer..This question is unique
nancyyy: difficult
debashreeghosh: Its okay
debashreeghosh: These are sufficient
debashreeghosh: Thanks a lot
Similar questions