I wanna test if more numbers at once are equal to zero, and I wonder which option is preferable:
a) if(x == 0 && y == 0)
if(x == 0 && y == 0)
b) if( (x|y) == 0)
if( (x|y) == 0)
Aucun commentaire:
Enregistrer un commentaire