hi

prem_may10's Avatar, Join Date: Sep 2006
Go4Expert Member
hi
This is premchand. I want to a program which gives the output as source code of the program
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Here it comes

Code:
void main()
{
	FILE *fp;
	char ch;
	fp = fopen(__FILE__,"r");
	while((ch=fgetc(fp))!=EOF)
	{
		printf("%c",ch);
	}
	fclose(fp);
}