The prototypes for getchar() and putchar() are:
int getchar(void);
int putchar(int c);
As ,its prototype shows, the getchar() function is declared as returning an integer.However, you can assign this value to a char variable, as is usually done, because the character is contained in the low-order byte.(The high-order byte is normally zero.)
Similary in case of putchar(),even though it is declared as taking an integer parameter you will generally call it using a character argument.Only the low order byte of its parameter is actually output to the screen.
I was studying Console I/O and came across this. What do you mean by high order and low order bytes?
And What does it mean in the above context?