strcmp problem, whats the problem, i cant figure it out!
I'm reading data from a text file, it reads it perfectly well and the data is being stored in a structure. Im using it for instance as a multiple choice test, i have on the text file the final letter of the correct answer. so i ask the user to input his answer and store it in a variable in main, the input goes perfectly well and so to compare the answer with the one from the structure i use strcmp but everytime i get the result that its the wrong answer even if i input the correct data, whats wrong, here is the piece of the code:
printf("You are correct\n\n");
printf("Your Answer Is Wrong!!\n\n");}