if you are interested to contribute your LAB PROGRAM Please send mail to jkumaron@gmail.com

Increment operator in c/c++|before the variable

main()
{
int j=4;
printf(“%d”,++j);
} Tutorial answer:
5
Debugging explanation:
++Var indicate
first it increase the value
then it will assign. Because increment operator come the before the variable.

Related post