Write 4 points of
difrence between prefix increment and postfix increment
Answers
Answered by
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.
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
Similar questions
Chemistry,
8 months ago
Environmental Sciences,
1 year ago
Social Sciences,
1 year ago
Political Science,
1 year ago