can you explain these function ? struct entry { char *lexptr; int token; }; https://www.answers.com/homework-help/question
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
can you explain these function ? struct entry { char *lexptr; int token; }; https://www.answers.com/homework-help/question
can you explain these function ? struct entry { char *lexptr;int token; };https://www.answers.com/homework-help/que ... 8c#include "global.h" struct entry keywords[] = { "div", DIV, "mod",MOD, "if", IF, "then", THEN, 0, 0 }; void init() { struct entry *p;for (p = keywords; p->token; p++) insert(p->lexptr,p->token); } when will in for loop stop