0

Failling to understand

What is the output of this code? int a = 8; int b = ++a; if(a > 5) b -= 3; else b = 9; Console.WriteLine(b); The output is 6, but I am not understanding why? Anyone can explain please

12th Aug 2019, 5:27 AM
Merveilles Katumba
Merveilles Katumba - avatar
1 Odpowiedź
+ 1
Thank you
12th Aug 2019, 8:31 PM
Merveilles Katumba
Merveilles Katumba - avatar