Why 2 different compilers output different results? 13 and 14?
Int main(){
int a=5, b=0;
b = ++a + ++a;
printf("%d\n", b);
}
Why 2 different compilers output different results? 13 and 14?
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Rajanikant HawaldarRank #110 · 20.2K reputationPosted Feb 22, 2021, 1:00 AM EST
Adarsh142 reputationPosted Feb 22, 2021, 1:02 AM EST
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Feb 22, 2021, 1:05 AM EST
Adarsh142 reputationPosted Feb 22, 2021, 1:08 AM EST