differentiate between the expression a and a-


Differentiate between the expression "++a" and "a++"?

- With ++a, increment happens first on variable a, and resulting value is used. This is known as prefix increment.

- With a++, current value of the variable would be used in an operation. This is termed as postfix increment.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: differentiate between the expression a and a-
Reference No:- TGS0355068

Expected delivery within 24 Hours