Vidyalelo
C++ Programming · Q24

Arrays and Strings in C++

Programming · C++ Programming · question 24

Q24

What is the purpose of the 'toupper()' function in C++?

A.
Converts a character to uppercase
Answer
B.
Converts a character to lowercase
C.
Compares two characters
D.
Returns the length of a string

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board