In some programming languages, an identifier is permitted to be a letter followed by any number of letters or digits. If L and D denotes the sets of letters and digits respectively, which of the following expressions define an identifier ?
A. | ( L∪ D ) * |
B. | L ( L ∪ D)* |
C. | ( L . D )* |
D. | L . ( L . D )* |
Answer : B Explanation : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |