Code:
printf("1 for odd, 0 for even -> %d \n",A&1);
If that still doesn't answer, please copy and paste the ORIGINAL question, not your summary of what you think it says.