Explain the use of function toupper() with and example code?
Answers
Answered by
3
★·.·´¯`·.·★ ʜᴇʀᴇ ɪs ʏᴏᴜʀ ᴀɴsᴡᴇʀ ★·.·´¯`·.·★
Toupper() function is use to convert the value to uppercase when it uses with characters.
ᴇʜsᴀss ✿◕ ‿ ◕✿
Attachments:
![](https://hi-static.z-dn.net/files/dce/aa6c9c427c384efc12324ea9b887282b.jpg)
![](https://hi-static.z-dn.net/files/de5/d8ceaed783d8d5944e327c25a89e4145.jpg)
Answered by
3
The toupper() function is used to convert lowercase alphabet to uppercase. i.e. If the character passed is a lowercase alphabet then the toupper() function converts a lowercase alphabet to an uppercase alphabet. It is defined in the ctype.h header file.
Similar questions
English,
7 months ago
Math,
7 months ago
English,
7 months ago
Social Sciences,
1 year ago
Physics,
1 year ago