How to write a program in c to print its own code?

How to write a program in c to print its own code?

#include
#include
void main()
{
int x,i,c;
char msg[20];
printf("enter the massage");
scanf("%s",msg);
printf("enter the number");
scanf("%d",&x);
for(i=1;i

By:rais08
Date:2008-12-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher