The multiplier is broken. Write a function in C to multiply two 16-bit integers.
Anonymous
Easiest bit shifts + addition. There are indeed better algorithms (Karatsuba, Tom-Cook), but not likely to write an implementation in 10 minutes or such.
Check out your Company Bowl for anonymous work chats.