+ 3

What the different between a++ and ++a ?

27th Oct 2017, 5:47 PM
Hadeel_nrd
13 Réponses
+ 4
for exp: a , b a =1 b=++a now a= 2 , b=2 if we write a++ will be a=2, b =1
27th Oct 2017, 7:04 PM
‎عبدالكريم يوسف‎
‎عبدالكريم يوسف‎ - avatar
+ 3
Increment after operation (post) and increment before operation (pre).
27th Oct 2017, 5:49 PM
AgentSmith
+ 2
a++ Mean Increment after And ++a Increment Before per my Knowledge....
27th Oct 2017, 5:52 PM
Mahfooz Ahmed
Mahfooz Ahmed - avatar
+ 2
@zhakhangir feeling suuuuuuuuuper but not that much haha
5th Mar 2018, 5:57 PM
‎عبدالكريم يوسف‎
‎عبدالكريم يوسف‎ - avatar
+ 2
I'm from Libya
5th Mar 2018, 7:33 PM
‎عبدالكريم يوسف‎
‎عبدالكريم يوسف‎ - avatar
+ 1
what kind of feeling being programmer
5th Mar 2018, 2:44 PM
zhakhangir
zhakhangir - avatar
0
oh ...Thank you 🌹
27th Oct 2017, 5:53 PM
Hadeel_nrd
0
that means (a) take new value?
27th Oct 2017, 6:02 PM
Hadeel_nrd
0
++a; tells the compiler to increment b4 the end of the statement, while a++; tells the compiler to increment after the statement
28th Oct 2017, 2:53 AM
chibuokem jerry
chibuokem jerry - avatar
0
where are you from
5th Mar 2018, 6:27 PM
zhakhangir
zhakhangir - avatar
0
I don't have nice English . but you understand me
5th Mar 2018, 6:27 PM
zhakhangir
zhakhangir - avatar
0
@De Solo
5th Mar 2018, 6:28 PM
zhakhangir
zhakhangir - avatar