+ 1
What is the diffrent between A and B ?
A : int x =10; if (× > 5 && x < 15) { cout << "yes"; } else { cout << "no"; } B: int x =10; if (x > 5 ) { if (x < 15) { cout << "yes"; } } else { cout << "no"; }
1 Réponse
+ 5
It can result in different machine code, but the operational behaviour stays the same.