Solved–Lab 7– Solution

$30.00 $19.00

Write a program to display all comments in a C program. The program is typed in at the keyboard, and the output displayed on the screen. It can also be tested on files by redirecting the standard input. Don’t forget to handle quoted strings properly. Furthermore, only comments that start with /* and end with…

You’ll get a: . zip file solution

 

 
Categorys:
Tags:

Description

5/5 – (2 votes)

Write a program to display all comments in a C program. The program is typed in at the keyboard,

and the output displayed on the screen. It can also be tested on files by redirecting the standard

input. Don’t forget to handle quoted strings properly. Furthermore, only comments that start with

/* and end with */ need to be accounted for.