Mega Code Archive
Categories
/
C Tutorial
/
Data Type
Displaying Character Data Types with printf
#include
main(){ char firstInitial; firstInitial= 'S'; printf("The value of firstInitial is %c", firstInitial); } The value of firstInitial is S