Sunday, November 20, 2016
How to Display A programs own Source Code as Output in C programming Language
How to Display A programs own Source Code as Output in C programming Language
Though you may think that is problem is quite complex but actually ,the concept behind this program is very simple.
A predefined macro __FILE__ contains the location of a C programming file.we will be using this macro in our program.
Source Code-
Output-
A predefined macro __FILE__ contains the location of a C programming file.we will be using this macro in our program.
Source Code-
1 | #include <stdio.h> |
Available link for download