Print a Character
#include <stdio.h>
main()
{
char d;
d = 'x';
printf("The character is: %c.",
d);
}
The program prints
The character is: x.
This is pgram
pg70.c
.
Previous slide
Next slide
Back to first slide
View graphic version