How to get multiple strings containing space characters from user using c programming language?

Sir,I have just started programming…Whenever I’m trying to solve a problem ,I"m facing some problems with “the input sector”…Most of the problems require multiple strings to input…I have tried gets() function, 2D string with scanf() function,but none of them works perfectly or efficiently.So i really need help with this input issue…