If R is regular language and Q is any language (regular/ non regular), then Pref (Q in R) is _____________
(a) Non-regular
(b) Equal
(c) Infinite
(d) Regular
This question was addressed to me during an internship interview.
The origin of the question is Regular Expression in chapter Compiler Introduction of Compiler