When i used a few gets() to obtain strings from the user, My programme will not run properly. At some point of gets(), it didn't pause whereas it just continues running without waiting for the user input.
So i tried using scanf() with fflush().. it solved the problem. How ever this method is not recommended, please tell me what i should do.