Computer Science, asked by vickyaicky512, 1 year ago

Write a program in C using tolower function.

Answers

Answered by BrainlyTech
0

#include <stdio.h>

#include <ctype.h>

int main()

{

   char c, result;

   c = 'M';

   result = tolower(c);

   printf("tolower(%c) = %c\n", c, result);

   c = 'm';

   result = tolower(c);

   printf("tolower(%c) = %c\n", c, result);

   c = '+';

   result = tolower(c);

   printf("tolower(%c) = %c\n", c, result);

   return 0;

}

Mark as brainliest

Hope this helps you!!

Let me know if thats not what your looking for..

:)

Answered by theking20
1

Write a program in C using tolower function:

The C tolower function converts an uppercase character to a lowercase character. Example:

   #include <stdio.h>

   #include <conio.h>

   #include <ctype.h>

   int main()

   {

       char a, result;

       a = 'B';

       result = tolower(a);

       printf("tolower(%c) = %c\n", a, result);

       a = 'b';

       result = tolower(a);

       printf("tolower(%c) = %c\n", a, result);

       a = '+';

       result = tolower(a);

       printf("tolower(%c) = %c\n", a, result);

       return 0;

   }

Similar questions