Domanda di colloquio di Microsoft

using a mac function toLower(char c) to write a toUpper(char c) function, without using any ascii code

Risposte di colloquio

Anonimo

15 mar 2012

traverse the letter table using toLower() and find the one that matches

Anonimo

5 ott 2012

what is meant by without using ascii code? like 'A' is equal to 97 I guess, and 'a' = 'A' + 26, so I can't convert it using: char tolower(char i) { return i - 26; }

Anonimo

27 ott 2012

I get a little bit confused of this question