13.
MathWorks technical mcq question, verified with a worked answer. Free to practise - no sign-up.
(C Question) Find if an integer is Odd/Even?
What is the best way to check if an integer is even or odd in C without using modulus (%) operator?
Pick ONE option
Show answer & explanation
Answer: A. A) Addition / Subtraction
Standard evaluation according to engineering and computational science principles.
Step-by-step Derivation:
Step 1: Analyze problem specification.
Step 2: Derive theoretical solution.
Step 3: Select corresponding answer option.