Write a program to accept a string and print the string in lower case in C language

 
#include<stdio.h>
#include<conio.h>
#include<string.h>
main()
{
	char *s1;
	clrscr();
	printf("Enter string: ");
	scanf("%s",s1);
	printf("String in lower case : %s",strlwr(s1));
	getch();
}
Watch video explaination

Leave a Reply

Your email address will not be published. Required fields are marked *