+ 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.
3 Respuestas
+ 2
No hws pls else Mfd 🙂
+ 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
+ 1
Aniket Gade
You should search your question in google first, cuz I did the same:
https://stackoverflow.com/questions/30364690/ignoring-comments-in-the-input-for-a-c-program
https://www.geeksforgeeks.org/remove-comments-given-cc-program/
https://www.geeksforgeeks.org/lex-program-to-remove-comments-from-c-program/
https://www.quora.com/How-does-I-code-a-C-program-to-remove-comments-from-the-program-given-as-input
http://www.learntosolveit.com/cprogramming/Ex_1.23_remcomments.html