it's a quine problem.
char*f="char*f=%c%s%c;
main(){
printf(f,34,f,34,10);
}%c";
main()
{
printf(f,34,f,34,10);
}
I have used whitespaces to make it understand.
On Sun, Aug 28, 2011 at 11:39 AM, rahul sharma <[email protected]>wrote:
> program whose output is the program itself???????????????
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.