User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:ctype.h:tolower

Table of Contents

tolower

    #include <ctype.h>
    int tolower( int char );
  Returns lower case type of the character

C Sourcecode Example

#include <stdio.h> /* including standard library */
//#include <windows.h> /* uncomment this for Windows */
 
#include <ctype.h>
 
int main ( void )
{
  char string[30];
  /* write the Chars "i" and "t" lowercase in the buffer "string" */
  sprintf(string,"%c WHANT %cHIS IN LOWERCASE",tolower('I'), tolower('T'));
  printf("%s\n",string);
 
return 0;
}

output

  output:
  user@host:~$ ./tolower
  i WHANT tHIS IN LOWERCASE
  

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/ctype.h/tolower.txt · Last modified: 2024/02/16 01:05 (external edit)

Impressum Datenschutz