difference between prefix operators and postfix operator in java
Answers
Answered by
0
The prefix operator ++ adds one to its operand / variable and returns the value before it is assigned to the variable. In other words, the increment takes place first and the assignment next. The postfix operator ++ adds one to its operand / variable and returns the value only after it is assigned to the variable.
Answered by
0
Answer:
The prefix operator ++ adds one to its operand / variable and returns the value before it is assigned to the variable. ... The postfix operator ++ adds one to its operand / variable and returns the value only after it is assigned to the variable. In other words, the assignment takes place first and the increment next.
please mark me as brainliest..✌️
Similar questions