C Programming Reference >> C Basic Tutorials >> C Keywords Home >> autoui 30/12/06 - Views - Ratings : 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);
}
|