C Program to Display same Source Code as Output.
⦁ When working with files, we need to declare a pointer of type file. This declaration is needed for communication between the file and program.
FILE *fptr;
⦁ Opening a file is performed using the library function in the "stdio.h" header file: fopen( )
⦁ The syntax for opening a file in standard I/O is
ptr = fopen("fileopen","mode")
--------------------------------------------------------------------------------------------------------------------------
EmoticonEmoticon