+ 1

Apakah perbedaan dari ++i; dan i++; ?

27th Oct 2017, 4:49 PM
Dhimas Fajarwibowo
Dhimas Fajarwibowo - avatar
2 Réponses
0
perbedaan nya adalah : i = 1 j = ++i i = 2 , j =2 i = 1 j = i++ i=2, j = 1
27th Oct 2017, 5:03 PM
Dexter Dewa
Dexter Dewa - avatar
+ 1
i++ postfix -> di simpan dulu di variable lalu dijumlahkan ++i prefix -> dijumlahkan baru di simpan divariable.
28th Oct 2017, 2:14 AM
Muhammad Fathi
Muhammad Fathi - avatar
Aujourd'hui en vedette
.
1 Votes
What?
0 Votes
.
0 Votes
HTML
0 Votes
Quiz duel
0 Votes
Web
0 Votes
FRC Coding?
1 Votes
help
0 Votes