Question

Which of the following are not regular grammar?

A Strings of 0’s, whose length is a prime number.
B String of 0’s whose length is a perfect square.
C Both [A] and [B].
D Only [A]
Answer & Explanation
Option: [D]