retagged by
6,456 views

2 Answers

3 votes
3 votes
A)it does not contain substring but it ends with 0 also so it violate the condition of question so A option is false .

B )it is partially correct answer becoz it does not generate all the required strings as compared to c option  so its false

C)it will generates all the strings ending with 1 and also it will not generate substring as 00 . So TRUE

D)it will generate 00 as substring which again violate the required condition so false

Hence C option is true
Answer:

Related questions