title: How to know new line character in fscanf?
body: <p>How to know that fscanf reached a new line \n in a file.
  I have been using my own functions for doing that. I know I can use fgets and then sscanf for my required pattern. But my requirements are not stable, some times I want to get TAB separated strings, some times new line separated strings and some times some special character separated strings. So if there is any way to know of new line from fscanf please help me. Or else any alternative ways are also welcome.<p>
  Thanks in advance.</p>