Home / Engineering / Theory of Computation and Compiler Design / Question

M

Mr. Dubey • 51.47K Points
Coach

Q.) 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 set of letters and digit respectively. Which of the following expression defines an identifier?

(A) (L + D) *
(B) (L.D) *
(C) L(L + D) *
(D) L(L.D) *
Correct answer : Option (C) - L(L + D) *

Share

Discusssion

Login to discuss.