wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider the regular expression-token mapping given below:
Choose the correct output when lexical analyzer scans the following input "aaabccabbb"

A
123
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
232
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
231
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
132
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Join BYJU'S Learning Program
CrossIcon