0

How to take a string as input which has multiple lines and spaces in c language?

how can I take input of a string which has line breaks and more than one line? If I use scanf("%s") or gets() it only takes string of one line. But I want to take multiple lines. How can I do it in c language?

15th Aug 2020, 8:17 AM
Mahdiuzzaman Nishat
Mahdiuzzaman Nishat - avatar
1 Odpowiedź