The following section of code does not read the character in from the command line. Instead the execution skips this line and executes the action in the last else clause of the program. Does anyone have any ideas as to why scanf is failing here?
char c ;
printf("Would you like to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.