Explain strlwr() and strupr() function?
Answers
Answered by
1
Hello Friend
strupr( ) function converts a given string into uppercase. Syntax for strupr( ) function is given below.
char *strupr(char *string);
strupr( ) function is non standard function which may not available in standard library in C.
strlwr( ) function converts a given string into lowercase. Syntax for strlwr( ) function is given below.
char *strlwr(char *string);
strlwr( ) function is non standard function which may not available in standard library in C
strupr( ) function converts a given string into uppercase. Syntax for strupr( ) function is given below.
char *strupr(char *string);
strupr( ) function is non standard function which may not available in standard library in C.
strlwr( ) function converts a given string into lowercase. Syntax for strlwr( ) function is given below.
char *strlwr(char *string);
strlwr( ) function is non standard function which may not available in standard library in C
Answered by
2
Functions:
strlwr():
- Strlwr function is an important string function used in a programming language to convert the characters into lower case. Here str refers to short-form of string and lwr refers to short-form of the lower case. For example Output of strlwr string function for input, Hello will be hello.
strupr():
- Strupr is also an important string function which is used to convert the characters into upper case. Here str refers to string and upr refers to upper case. For example Output of strupr string function for input, Hello will be HELLO.
Similar questions
Biology,
7 months ago
Physics,
7 months ago
Math,
7 months ago
Math,
1 year ago
Political Science,
1 year ago