in Technology by

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

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
    Differentiate between ordinary function and member functions in c++. Explain with an example Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    What is this code an example of? A. null element B. self-closing tag C. improperly named element D. incorrect XML syntax...
asked Mar 10, 2023 in Technology by JackTerrance
0 votes
    Write html code to set the BGCOLOR as NAVY, header 1 text Text Example with size, colour and font face'' as ... font face ARIAL . Select the correct answer from above options...
asked Dec 29, 2021 in Education by JackTerrance
0 votes
    A built un function is a function which: A)comes with python and is an integral part of python B)has been ... D)has be imported Select the correct answer from above options...
asked Dec 16, 2021 in Education by JackTerrance
0 votes
    Explain user story structure with an example....
asked Aug 19, 2021 in Technology by JackTerrance
0 votes
    What is String Interpolation in Angular 8? Explain with an example....
asked Jun 28, 2021 in Technology by JackTerrance
0 votes
    a) What are forest based industries? Explain with an example. b) List any two factors that affect ... improve agricultural development Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    @ Explain the concept houe internet works with hell of an example. And Select the correct answer from above options...
asked Dec 2, 2021 in Education by JackTerrance
0 votes
    Explain sample space with an example. Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    Explain conditional probability with the help of an example. Select the correct answer from above options...
asked Nov 19, 2021 in Education by JackTerrance
0 votes
    What is a confusion matrix? Explain in detail with the help of an example. Select the correct answer from above options...
asked Nov 12, 2021 in Education by JackTerrance
0 votes
    How to digits for a string in python? (short code) example: app77 should give a digit count of 2 Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
    Write pseudo code to count occurrence of a given number in the list. For example, consider the following list, if ... in the list. Select the correct answer from above options...
asked Nov 28, 2021 in Education by JackTerrance
...