https://cstheory.stackexchange.com/questions/19102/ambiguity-in-regular-and-context-free-languages
Refer this https://gateoverflow.in/124706/peter-linz-5-1?show=124741#c124741
Read all the comments. it might clear your doubts.
64.3k questions
77.9k answers
244k comments
80.0k users