When you want to read a string that may contain spaces from the console in C, using scanf alone may not be sufficient because scanf stops reading when it encounters a space character. Here are a few alternative approaches to read a string with spaces...
blog.jyotiprakash.org2 min readNo responses yet.