0 votes
9 views

What is the difference between ++a and a++?

in Technology by (188k points)

1 Answer

0 votes

‘++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.

by (188k points)

Related questions

+1 vote
1 answer 28 views
0 votes
1 answer 17 views
0 votes
1 answer 11 views
0 votes
1 answer 109 views
0 votes
1 answer 22 views
0 votes
1 answer 23 views
0 votes
1 answer 15 views
0 votes
1 answer 15 views
+1 vote
1 answer 17 views
0 votes
1 answer 30 views
+1 vote
1 answer 34 views
+1 vote
1 answer 19 views
...