Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Question!


Name: Ankit Darji
Title:
  Lexical Analyzer Code Checking
Question:
#include<stdio.h>
#include<ctype.h>
#include<string.h>
void keyw(char *p);
int i=0,id=0,kw=0,num=0,op=0;
char keys[32][10]={"auto","break","case","char","const","continue","default", "do","double","else","enum","extern","float","
                    for","goto", "if","int","long","register","return","short","signed", "sizeof","static","struct","switch","typedef",
                    "union", "unsigned","void","volatile","while"};
main()
 { 
  char ch,str[25],seps[15]=" \t\n,;(){}[]#\"<>",oper[]="!%^
Answers: