Microsoft interview question

How would you implement toupper()?

Interview Answer

Anonymous

21 Sept 2020

Not sure, but using ascii codes may be a good idea. ASCII(upper_case) = ASCII(lower_case) - 32