+ 4

Operators

I have doubt with increment and decrement operators..explain me

5th Aug 2017, 11:23 AM
Darwin
Darwin - avatar
11 odpowiedzi
+ 7
then each the value of a is added by1. isn't
5th Aug 2017, 12:12 PM
Darwin
Darwin - avatar
+ 2
when you use increment value of a variable is increased and when you use decrement value decreased..... for ex if var a=5; and you increment it a++; value of a become 6
5th Aug 2017, 11:36 AM
Jonty Bamrah
+ 2
a++; means that the value of a is increment by 1
5th Aug 2017, 12:19 PM
Jonty Bamrah
+ 1
yes.....
5th Aug 2017, 12:18 PM
Jonty Bamrah
+ 1
thank you bro
5th Aug 2017, 12:19 PM
Darwin
Darwin - avatar
+ 1
This helped
25th Aug 2020, 10:24 PM
Abdullah
Abdullah - avatar
+ 1
Hello
9th Dec 2020, 1:18 PM
Komron YusuFi
Komron YusuFi - avatar
0
that is a=a+1
5th Aug 2017, 12:11 PM
Darwin
Darwin - avatar
0
u r wlcm
5th Aug 2017, 12:19 PM
Jonty Bamrah
22nd Jun 2021, 6:39 AM
Rafi Ahmed
Rafi Ahmed - avatar
- 1
Мро
23rd Feb 2020, 9:58 AM
Ибрагим Алдамов
Ибрагим Алдамов - avatar