Skip to primary content
Skip to secondary content

Code Explainer

Interesting snippets of code taken apart for your viewing pleasure.

Code Explainer

Main menu

  • Home
  • About
  • Contact

Tag Archives: Python 3

Quine – a self-replicating program

Posted on 2017-09-11 by codeexplainer
Reply

Quines are computer programs that accept no input and write its own source code on the standard output.  This entry was taken from the Jargon File, the author is unknown.

char*f="char*f=%c%s%c;main()
{printf(f,34,f,34,10);}%c";
main(){printf(f,34,f,34,10);}

Continue reading →

Posted in explanation | Tagged C, Python 3, Quine, self-replicating | Leave a reply

Code Explainer on FB

Code Explainer on FB

Follow me on Twitter

My Tweets
Create a website or blog at WordPress.com
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Code Explainer
    • Already have a WordPress.com account? Log in now.
    • Code Explainer
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
Design a site like this with WordPress.com
Get started