I’m building a simple C program that asks the user to input a word or character, stores it, and keeps printing it until the user types the same input again to exit.
However, even when the user retypes the original input, the loop doesn’t stop.
Am I using the wrong method for string comparison in C? I’m aware that using check != input may not be the correct approach, but I’m unsure how to properly handle this.
Any advice on how to string compare in C the right way?