check if the number is odd or even 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");
if((x & 1) == 0)
printf("EVEN!\n");
else
printf("ODD!\n");