Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



The precedence of regular expression operators from lowest to highest precedence is:





Solution

In regular expressions, operator precedence from highest to lowest is:

$Star > Concatenation > Union$

Therefore, from lowest to highest:

$Union < Concatenation < Star$

Correct option is:

$\boxed{(c)\ \text{Union, Concatenation, Star}}$



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...