Professional Documents
Culture Documents
Program To Count The Number of Lines
Program To Count The Number of Lines
Sample Input\Output: [united@localhost ~]$ vi lexpart.l [united@localhost ~]$ lex lexpart.l [united@localhost ~]$ gcc lex.yy.c [united@localhost ~]$ vi file.c [united@localhost ~]$ ./a.out file.c no of lines are 3 no of words are 9 no of blanks are 8 no of character are 21 [united@localhost ~]$