Q:

Explain the difference between prefix and postfix increment

0

Explain the difference between prefix and postfix increment.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

The prefix increment operator increases the operand and return the operand itself as an lvalue.

The postfix increment operator increases the operand and return a copy of the operand's original value as an rvalue.

 

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now