how to check if a number is an odd number 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");