how to check even number in c code example Example: how to know if a number is even in c if((x & 1) == 0) printf("EVEN!\n"); else printf("ODD!\n");