ExplanationIn the above program s tricmp () function is used for comparing character array ans [
] &"Earlang". If function returns 0 'zero' the message displayed will be "Answer i s Correc t." In
case the answer is wrong the message displayed will be "Try again!Three attempts are provided
using for loop for answering the question. The f f lush () function is used for ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.