Computer Science, asked by sr572386, 15 hours ago

if int=0 then what will be the value of i=i++ +i in java​

Answers

Answered by maheshgandikota111
0

Answer:

Post Increment (i++) : Current value of ‘i’ is used and then it is incremented by 1.

Pre Increment (++i) : First ‘i’ is incremented by 1 and then it’s value is used.

Post Decrement (i-- ) : Current value of ‘i’ is used and then it is decremented by 1.

Pre Decrement (--i) : First ‘i’ is decremented by 1 and then it’s value is used.

Explanation:

like

Similar questions