Result of call to toLower(someChar) if someChar='#'

Hi,

I'm reviewing the entire course material for an upcoming final exam. There is at least one question in my review "packet" to which I cannot find the answer in my textbook, in the professor's PowerPoint presentation, or on Google. (I even changed the phrasing of my Google search) The question is this:
The call to the library function

tolower(someChar)

returns 'g' if someChar is 'G' but returns an unknown value if someChar is '#'.


Will someone please tell me the answer? Thanks.
Last edited on
That's not a question.
Read the documentation for the function http://en.cppreference.com/w/cpp/string/byte/tolower
specifically the section describing the return value.
@naraku9333: Thank you.

Just to quote from the link:
Return value
Lowercase version of ch or unmodified ch if no lowercase version is listed in the current C locale.

Topic archived. No new replies allowed.