AL SALAM ALYAKUM
char your information for this subject hear to help student to understand many things
AL SALAM ALYAKUM
char your information for this subject hear to help student to understand many things
++i
will increment the value of i
, and then return the incremented value.
i =1;
j =++i;(i is 2, j is 2)
i++
will increment the value of i
, but return the pre-incremented value.
i =1;
j = i++;(i is 2, j is 1)