How to determine whether an integer is even or odd without using if else or switch ?
This was the question in Level 1 of the C Programming competition at SRKNEC, Nagpur.
Write a program which accepts input as an integer and prints ODD if it is odd and EVEN if its even.
(Note: You cannot use if else, switch, loops. Only use printf and scanf)
and I couldn't code that.
Any Hint from you ?