Question: Program: #include #include #include void keyword(char str[10]) { if(strcmp(for,str)==0||strcmp(while,str)==0||strcmp(do,str)==0||strcmp(int,str )==0||strcmp(float,str)==0||strcmp(char,str)==0||strcmp(double,str)==0||strcmp(static,str)==0||strcmp(switch,str)==0||strcmp(case,str)==0) printf( %s is a keyword,str); else printf( %s is an identifier,str); } main() { FILE
Program:
#include 1.Test runs (run your program and print the screen results)[screen shot of the program] Written Description: 1.A complete description of the program (what it does, how it operates, input requirements, what does the output represent, etc.) 2.Also in your description, you should explain why you chose the test run data (input files) that you chose. That is, what did you test for 3.what are the input requirement?What is the output and what does it mean? 4.Does the program(lex Analysis) work for all C, C++, JAVA or python program?And What are the limitation of the program? 5.Run the output and Describe what you testing?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
