I have this doubt i have read that "We must declare c to be a type big enough to hold any value that getchar returns We can't use char since c must be big enough to hold EOF in addition to any possible char. Therefore we use int." it means that char value can be greater than 127 or 255 depending on the machine. Then there should not be any statement like
char ch; scanf("%c",ch);
since char cannot accomodate all the characters. Please help me to understand.
Thanks in advance