New course! Every coder should learn Generative AI!
Try a free lesson0
How to scan a group of letters and words in c??
C program
2 Answers
+ 5
i will rather go with fgets instead of using scanf
+ 4
Using %[^\n] format specifier in scanf for string input which contains white space