M

Mr. Dubey • 52.30K Points
Coach

Q. 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*
Correct : Option (B)

Share

Discusssion

Login to discuss.

Be the first to start discuss.