Jyotiprakash Mishrablog.jyotiprakash.org·Dec 24, 2023You want to input a string with spaces?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...string with spaces