Multiply/Divide by 2 via Bit Shifts and Max of Three
Filed under KPIT
The question
Write C programs to multiply a number by 2 and divide a number by 2 without using arithmetic operators (using bitwise shifts), and find the largest of three numbers using conditional operators.
No write-up yet. Related questions below have one.
Related KPIT questions
Collected from public candidate posts and coding forums. Updated Nov 2026.