Computer Science, asked by dibya1273, 3 months ago

do the following two statement perform the same task?
a=a+1;. a++;​

Answers

Answered by rounakraj84
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 nihal0077
2

thanks for your help ✌✌

Similar questions