Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

WHAT IS THE DIFFERENCE BETWEEN "X++ AND ++X" IN PROGRAMMING

6 like 0 dislike
NEED HELP..
asked 1 year ago by lotus$ (42,160 points)

1 Answer

2 like 0 dislike
 
Best answer
Both are the increment if x=0 then
for x++ the value starts from 0 then 1,2,3,4...
but for ++x the value stars from 1 then 2,3,4,5...
answered 1 year ago by eagle09 (95,490 points)

Related questions

12 like 0 dislike
4 answers
11 like 1 dislike
2 answers
6 like 0 dislike
1 answer
4 like 0 dislike
0 answers