int value;
if (value % 2) {...}
if (value % 2 != 0) {...}
I do know the second is more easily readable, but which one is more efficient in C, 1 or 2? And why?
Aucun commentaire:
Enregistrer un commentaire