implement a lexical analyzer that returns a token lexeme pair to recognize vaild C/C++ identifiers. (you do not have to exclude the reserve words).
Do not use String library.
run the program once to accept a valid identifier
second time to reject a string that is not an indentifier.
Submit code, screen shot of each execution
I'm providing you a lex program with steps to execute(I'm not sure if you want lex program or C program do mention in comments).
Code:
Output:
Get Answers For Free
Most questions answered within 1 hours.