C tolower function

« Previous

Synopsis:

Example

#include <stdio.h>
int tolower(int c); 

Description:

The function returns the corresponding lowercase letter if one exists and if isupper(c); otherwise, it returns c.

Return Value

The function returns the corresponding lowercase letter if one exists and if isupper(c); otherwise, it returns c.

Example

Example

#include <stdio.h>
int main() {
  printf( "Lower case of A is %c\n", tolower('A'));
  printf( "Lower case of 9 is %c\n", tolower('9'));
  printf( "Lower case of g is %c\n", tolower('g'));
  return 0;
}

Output Will Be :

Output

Lower case of A is a
Lower case of 9 is 9
Lower case of g is g


« Previous
Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!