in Technology by (1.9m points)

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

1 Answer

0 votes
by (1.9m points)

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


#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 Dec 1, 2021 in Education by JackTerrance (1.9m points)
0 votes
asked Nov 11, 2021 in Education by JackTerrance (1.9m points)