Computer Science, asked by manpreetanand722, 7 months ago

What will be the output of a++ when int a=-1 Please give your answer clearly

Answers

Answered by VarunVarsha25
2

Explanation:

the answer will be -1 because it is a post action

that is a++ the + is given after storing the value

a...so it value doesn't change in the output but

changes it the computer's memory..

Hopeit is usefulpls mark as brainiestanswer and follow me

Similar questions