Computer Science, asked by anamikaiyengar4689, 11 months ago

C=2
d=++c+c+++4 in java postfix and prefix

Answers

Answered by Anonymous
3

Answer:

Suppose you use ++ operator as prefix like: ++var. The value of var is incremented by 1 then, it returns the value.

Suppose you use ++ operator as postfix like: var++. The original value of var is returned first then, var is incremented by 1.

Similar questions