My problem is like that when I scan the data using fgets function and after I put fflush function but compiler not
wait for taking a data and it is directly go in next value scan.How to solve my program?
Sometime compiler not wait for taking input from 1st fgets function.
And it skipped it.
I put fflush(stdin) after fgets function but still it is not working.
I have used multiple time fgets function in my program,so how to solve this problem.