Hi,
I read a page about C character type history.
It says that there were just 'char' and 'unsigned char' in K&R C first edition. C language used these two data types as integer types already at that time. My question is:
were 'char' and 'unsigned char' used as integer types from the very beginning? That is, were they designed for integer types by the C creators?
If so, why were they named 'char's? I thought 'char' was for characters, not integers.
Some people say that there is no dedicated character type in C. 'char' is actually an integer type, then who is responsible for transforming an integer to a character? For example, printf() with '%c' format, does printf() transform the integer to a character?
Thanks,