Possible Duplicate:
carriage return by fgets
I have this code:
char arch[80];
fgets (arch, sizeof(arch), stdin);
When I access the value of arch
it shows the value I have entered from stdin
followed by an interrogation mark, why is this happening?