How to scan a group of letters and words in c?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to scan a group of letters and words in c??

C program

4th Aug 2019, 8:19 AM
ITs MyVlog
2 Answers
+ 5
i will rather go with fgets instead of using scanf
4th Aug 2019, 8:55 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 4
Using %[^\n] format specifier in scanf for string input which contains white space
4th Aug 2019, 8:37 AM
RED MARKER
RED MARKER - avatar