[Solved] C Programming- Scanf not working. Tried adding space, doesnt work [closed]
Your problems stem from this statement: scanf(“%c”,&user); The %c conversion specifier only reads a single character from the input stream, not a string. If you entered a username like jbode, only the ‘j’ character is read from the input stream – the remaining characters will be read by the next scanf (or other input) call. … Read more