ProAnswers.org

Write a C program to convert upper case string to lower case string?

#include

#include 

#include 

void main() 

{ 

char upper[15]; 

clrscr(); 

printf(“

Enter a string in upper case:”);

gets(upper); 

printf(“After strlwr();%s”, strlwr(upper)); 

getch(); 

} 

Output: 

Enter a string in upper case: ABCDEFG 

After strlwr(): abcdefg