toupper: returns the uppercase equivalent of ch if ch is a letter or ch is returned unchanged : toupper « ctype.h « C / ANSI-C






toupper: returns the uppercase equivalent of ch if ch is a letter or ch is returned unchanged


    

//Declaration:  int toupper(int ch); 
//Function:     returns the uppercase equivalent of ch if ch is a letter or ch is returned unchanged. 


  

#include <ctype.h>
#include <stdio.h>

int main(void){
  putchar(toupper('a'));
}

         
/*
A*/ 
           
       








Related examples in the same category