pages

Sunday, 18 April 2021

strlwr-funtion | c-program to convert all string into lowercase.| c-programming

 c-program to convert all into small lowercase.

In this program ,we will taking input string by the user and  it covert all into lowercase(small letters)

strlwer()  function:- the strlwr() function is used to convert a given string into lowercase.

strlwr() function is not standard function  which may not available in standard libary in c


#include<stdio.h>
#include<conio.h>
void main()
{
   char str[20];
   printf("enter a string\n");
   gets(str);
   printf("string is %s",strlwr(str));
   getch();
}

Output:-


For more c-programming:-
1.c-program to calculate the length of string using strlen function

2 .c-program to compare the two string





No comments:

Post a Comment