New course! Every coder should learn Generative AI!
Try a free lesson0
What is the difference between x++ and ++x in c++ programing
What is the difference between x++ and ++x in c++
1 Answer
+ 6
Roopesh. N
++x means first increase the value of x by 1 and then use it. whereas x++ means first use the value of x and then increment it's value by 1