what was the syntax to input strings with more than one word i.e with space in between through scanf() not gets()
Is it
scanf("%[^ ]",string);
2.1m questions
2.1m answers
60 comments
57.0k users