New course! Every coder should learn Generative AI!
Try a free lesson+ 5
RATHI GHOSH
a++ is post increment but a + 1 is not
So for a = 10, b = a + 1 = 11
b = a++; in this case 10 will be assign to b so b would be 10
But after assigning value a would be 11