+ 2
what is the meaning of x++ ?
11 Answers
+ 4
x++is the same as x=x+1
+ 2
It increments the value of x by 1. There is also ++x, that first increments x then assigns it to x, while x++ does it the other way.
+ 2
It is actually the short form of increment by one ...!!!
+ 2
x++ increases the value of x by 1 after executing the current line or expression
+ 1
When we need to increment a number to be added by one we use this statement x = x + 1 , we can also write it as x += 1 .. this increment statement is mostly used in c++ such as a counter etc therefore only when we are to use increment by one when can write it as x++ ...
+ 1
post increment i.e. first it uses the input value then increases the value by 1...!!!
0
postfix
first it use value the increase the value
0
increment of one
0
use value then increments
0
increment
- 5
lolzz