+ 2
It print the source code file on console... First you have to understand ___FILE___ thats a macro defined by compiler that contains the path of current file processed (then in multiple .c files will assume different values)... Then program open this file with fopen, read all char by char with getc (while EOF its returned that mean no more character to read) and print any character readed from file to console
14th Jun 2018, 6:02 AM
KrOW
KrOW - avatar