How can a program be made to print the name of a source file where an error occurs? Ans. The ANSI C standard includes a predefined macro named __FILE__ that can be used to insert the current source code filename in your program. This macro, like the __LINE__ macro, can be very v...
See more
Download the Study24x7 App, so you can connect and collaborate.