do the following two statement perform the same task?
a=a+1;. a++;
Answers
Answered by
1
Answer:
Both a++ and ++a increment the number before the current expression is evaluated, whereas i++ increments the number after the expression is evaluated.
therefore, by following the rules of above statement we can say that yes,both statement perform the same task.
Answered by
2
thanks for your help ✌✌
Similar questions