Professional Documents
Culture Documents
1
2
3
// c program to demonstrate
// example of strupr() function.
#include<stdio.h>
#include<string.h>
int main()
{
char str[ ] = "systemsdomain is the best";
//converting the given string into uppercase.
printf("%s\n", strupr (str));
return 0;
}
4
OUTPUT
SYSTEMSDOMAIN IS THE BEST
// c program to demonstrate
// example of strlwr() function.
#include<stdio.h>
#include<string.h>
int main()
{
char str[ ] = "SYSTEMSDOMAIN IS THE BEST”;
//converting the given string into uppercase.
printf("%s\n", strlwr (str));
return 0;
}
OUTPUT
Systemsdomain is the best