How can a program be made to print the line number where an error occurs? Ans. The ANSI C standard includes a predefined macro named __LINE__ that can be used to insert the current source code line number in your program. This can be a very valuable macro when it comes to debugg...
See more
Download the Study24x7 App, so you can connect and collaborate.