CC Assignment 2
CC Assignment 2
Assignment 2
Keyword: int, float, double, char, if, while, for, break, switch, case,
main, cout
Rules:
1.This is an individual assignment. Each student has to submit his/her assignment work.
2.Group discussion is allowed but don’t share assignment with other student.
3.Plagiarisms not tolerable in any of its form. Minimum penalty would be an ‘0’ in all course
assignments
4: You have to read input form the file and write the token in output file.
5: you have to list down all the lexical error along with line number if exist in the program.
Tools:
Language (For Development): FLEX and GCC compiler