3 3 votes The number of tokens in the following C code isif(count >= MAX_ITEMS) { printf("Limit Reached\n"); } $13$ $15$ $17$ $19$ Compiler Design goclasses compiler goclasses-cs-dpp goclasses-cs-dpp-day-147 goclasses-compiler-practice-questions + – GO Classes 300 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
4 4 votes if $\rightarrow$ Keyword (1)( $\rightarrow$ Separator (2)count $\rightarrow$ Identifier (3)>= $\rightarrow$ Operator (Relational) (4)MAX_ITEMS $\rightarrow$ Identifier (5)) $\rightarrow$ Separator (6){ $\rightarrow$ Separator (7)printf $\rightarrow$ Identifier (8)( $\rightarrow$ Separator (9)"Limit Reached\n" $\rightarrow$ String Literal (10)(Note: The entire string, including the quotes and escape sequence, is ONE token)) $\rightarrow$ Separator (11); $\rightarrow$ Separator (12)} $\rightarrow$ Separator (13)Total Count: 13 Deadlock_18 answered Dec 2, 2025 Deadlock_18 comment Share Follow 0 reply Please log in or register to add a comment.