Examveda

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

A. Converts a character to uppercase

B. Converts a character to lowercase

C. Compares two characters

D. Returns the length of a string

Answer: Option A


Join The Discussion

Related Questions on Arrays and Strings in C plus plus