differentiate between isuppercase () and touppercase ()
Answers
Answered by
24
the isuppercase()function checks whether the given string is in uppercase or not,where as the touppercase()converts a given to uppercase .isuppercase()returns a boolean value whereas touppercase() returns string type
Answered by
7
Difference between isuppercase () and touppercase () is given below
Explanation:
- The isuppercase () verify that particular character or the string is in the capital letter or not while touppercase () function converted the particular character or the string is in the capital letter .
- The isuppercase () returns the boolean value i.e true or false based on the condition while touppercase() do not returns any boolean value.The datatype of touppercase () is char.
Learn More:
- https://brainly.in/question/12607285
Similar questions