in Technology by

Explain the use of function toupper() with an example code?

Please log in or register to answer this question.

1 Answer

0 votes
by

oupper() function is used to convert the value to uppercase when it used with characters.

Code:

#include <stdio.h>
#include <ctype.h>
int main()
<code class="cpp plain" style='font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; border: 0px !important; margin: 0px !important; padding: 0px !important; font-size: 1em !important; line-height: 1.1em !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; border-radius: 0px !important; background: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; direction: ltr

Related questions

0 votes
asked Aug 19, 2021 in Technology by JackTerrance
0 votes
asked Nov 19, 2021 in Education by JackTerrance
0 votes
asked Dec 24, 2021 in Education by JackTerrance
...