what will be the output of a++ when int a is equal to -1
Answers
Answered by
0
Answer:
a = -1;
a++;
Now a becomes a = a + 1
= -1+1
= 0
a = 0
Similar questions
Hindi,
2 months ago
Political Science,
2 months ago
Science,
5 months ago
English,
5 months ago
Economy,
9 months ago