Interview Question
Software EngineersCountry: India
Little modification in the question:-
Write a function which accepts an integer and prints if the the integer is even or odd.
Restrictions on your code:-
1. Code should not use any kind of condition checks(such as if..else, ?:[i.e. ternary operators],macros in any form).
2. Operators for checking equality like "==" should not be used.
3. Looping in any form should not be used.
4. No bitwise operators should be used.
- Anonymous May 18, 2016