Search
 
SCRIPT & CODE EXAMPLE
 

C

c char to lower case

#include <stdio.h>
#include <ctype.h>
int main()
{
    char c, result;

    c = 'M';
    result = tolower(c);
    printf("tolower(%c) = %c
", c, result); // tolower(M) = m

    c = 'm';
    result = tolower(c);
    printf("tolower(%c) = %c
", c, result); // tolower(m) = m

    c = '+';
    result = tolower(c);
    printf("tolower(%c) = %c
", c, result); // tolower(+) = +

    return 0;
}
Comment

PREVIOUS NEXT
Code Example
C :: c print to stderr 
C :: how to reverse a string in c 
C :: append to list in c 
C :: extract substring after certain character in flutter 
C :: what is syntax in programming 
C :: c get current month, year, day 
C :: C Passing Pointers to Functions 
C :: array size in c 
C :: print a part of string c 
C :: search in gz file 
C :: lateinit kotlin 
C :: bootstrap form 
C :: flip exis in dataframe 
C :: solana-test-validator log 
C :: do...while loop c 
C :: unsigned char c programming 
C :: c median of array 
C :: pygramid program in c 
C :: cifras de un numero en c 
C :: c program to find minimum of 5 numbers using conditional operator in c 
C :: how to check the word is present in given char array in c 
C :: int to void* c 
C :: how to print logs when doing unit-testing in rust 
C :: example of header file in c 
C :: C Pass Individual Array Elements 
C :: float da 4 byte 
C :: retoure a la ligne C 
C :: can torch light bring change in chemical reaction 
C :: until command lldb 
C :: YOUNG SEX PARTY underground collection 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =