hi

Go4Expert Member
3Oct2006,17:11   #1
prem_may10's Avatar
hi
This is premchand. I want to a program which gives the output as source code of the program
Go4Expert Founder
3Oct2006,19:56   #2
shabbir's Avatar
Here it comes

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