lundi 5 octobre 2015

The meaning of a single & in an if statement

Came across a weird notation today while reading through some C code Can anyone explain to me what the line do?

if ((dwEvent & EV_RXCHAR) && cs.cbInQue) { /* do stuff */}

Aucun commentaire:

Enregistrer un commentaire