1.a Recognation of Comments #include #include void main() { char s[25]; int i=0; int state=1; scanf("%s",s); clrscr(); while(state>=1 && statetoken;ptr++)…
SS Lab Programs PART A LEX and YACC Programs Execute the following programs using LEX: 6th sem 1) a. Program to count the number of characters, words, spaces and lines…