How to write c program that will ignore comments in input paragraph? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to write c program that will ignore comments in input paragraph?

This program will accept paragraph as INPUT and will display input as it is in output but it will ignore stamens that are commented. I mean the text written between /* and */ will be ignored and remaining text will be displayed in output . If anyone knows please 🙏🏻 answer the question.

17th May 2021, 5:19 PM
Aniket Gade
Aniket Gade - avatar
3 Answers
+ 2
No hws pls else Mfd 🙂
17th May 2021, 5:55 PM
Aditya
Aditya - avatar
+ 2
I am not sure what you mean with paragraph as input but this program outputs the input without text between /* and */ https://code.sololearn.com/ca6a472a15A2/?ref=app
17th May 2021, 8:27 PM
Hape
Hape - avatar