0
what does a++ means
it is given a is 3 and b is 2 so b=a++ gives what??
9 Respostas
+ 1
2
+ 1
in your case it's a postfix meaning the increment operation will me performed when the assignment operation is finished
+ 1
In simple words, first the value, I.e., 3 of a will be assigned to b and then 1 will be added to a hence
b will hold the value of 3
and
a will have 4
0
a++ means a=a+1
0
what is answer of this question
0
is this true
0
b=A++. (A++=a=a+1)
2=a(a+1)
2=4a
a=2
0
and ans is b=a++=3
0
there are two meaning in post-increment or pre-incremet if the letter is like this a++ or i letter is like this ++a