write a function to check whether a given number is even or odd c code example
Example: even odd numer c
if( num % 2 == 0 )
printf("EVEN!\n");
else
printf("ODD!\n");
if( num % 2 == 0 )
printf("EVEN!\n");
else
printf("ODD!\n");