Question: Program in C please No If Statements Use Getchar to get each character You are to read code from a file (I don't have a
Program in C please
No If Statements
Use Getchar to get each character
You are to read code from a file (I don't have a sample input), one character at a time. You are looking for matching parentheses and matching curly braces. You are also looking for a number of preprocessor statements and number of one-line comment
Sample Output

All { } match All () match There are 2 preprocessor statements There are 11 one line comments
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
