mercredi 3 février 2016

How the first if statement skips in this cose?

Can someone please explain me why the first if statement is skipped in this code:

#include <stdio.h>
int main()
{
if (7 & 8)
printf("Honesty");
if ((~7 & 0x000f) == 8)
printf("is the best policy\n");
}

Aucun commentaire:

Enregistrer un commentaire