Practical 1
Objective: Design a lexical analyser for given language and the lexical analyser
should ignore redundant spaces, tabs and new lines. It should also ignore
comments. Although the syntax specification states that identifiers can be
arbitrarily long, you may restrict the length to some reasonable value. Stimulate
the same in C language.
Description:
Code:
Output: