C Programming Reference


C Programming Reference >> C Basic Tutorials >> C Keywords Home >>

autoui

30/12/06 -  Views - Ratings :   3.48 of 5 / 155 Votes

This is used to declare a character data type. Character data type is of 2 bytes and is used to store a ASCII character.

Code -
void function (void)
{
char a = 'A';
char b;
b = getchar ();
printf ("%c %c",a, b);

}

Back To Top


      

 

 

© 2006 cencyclopedia.com