Regular expression for all strings starts with ab and ends with bba is.
A. aba*b*bba
B. ab(ab)*bba
C. ab(a+b)*bba
D. All of the mentioned
Answer:A
Regular expression for all strings starts with ab and ends with bba is.
A. aba*b*bba B. ab(ab)*bba C. ab(a+b)*bba D. All of the mentioned
Explanation: Starts with ab then any number of a or b and ends with bba.