

MCQOPTIONS
Saved Bookmarks
1. |
The regular expression have all strings in which any number of 0’s is followed by any number of 1’s followed by any number of 2’s is : |
A. | (0+1+2)* |
B. | 0*1*2* |
C. | 0* + 1 + 2 |
D. | (0+1)*2* |
Answer» C. 0* + 1 + 2 | |