codescracker
c

C tolower()



« Previous Chapter Next Function »

tolower()

The tolower() function returns the lowercase equivalent of ch if ch is a letter; otherwise ch is returned unchanged.

tolower() Syntax

Following is the syntax of the tolower() function :

#include<ctype.h>
int tolower(int ch);

tolower() Example

Following code fragment displays q :

putchar(tolower('Q'));

C Online Test


« Previous Chapter Next Function »



© Copyright 2021. All Rights Reserved.

CodesCracker