The Answer is different at different COmpilers

When i tried to run it with Codeblocks, The Answer was 14. When tried with Sublime Text, It was 24

hello , send me ur number…

and also send the link to ur code.