int main()
{
int g,l;
int l=100;
g=l- – + l++;
printf(“g = %d”,g);
return 0;
}
predicted output:200
actual output:198
why??
post incrmt r given d higher pref…then ans should be 200.
int main()
{
int g,l;
int l=100;
g=l- – + l++;
printf(“g = %d”,g);
return 0;
}
predicted output:200
actual output:198
why??
post incrmt r given d higher pref…then ans should be 200.
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.