Q&A
Ask and answer questions to make information more available to wider audiences.
Angelina Lindsey @lindseyangelina   06, Apr 2023 12:00 AM
the difference between ++a and a++
What is the difference between ++a and a++?
answers 1
 
Answer 1
Emiliano Akemon @akemonemiliano   06, Apr 2023 04:30 PM
‘++a”  is called prefixed increment and the increment will happen first on a variable. ‘a++’ is called postfix increment and the increment happens after the value of a variable used for the operations.