Computer Science, asked by ktejas099, 7 days ago

difference between prefix operators and postfix operator in java​

Answers

Answered by brainlyun
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 manthana7
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