TrAyZeN / polyglot-quine

A quine in both C and Python at the same time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polyglot-quine

This program is a quine in both C and Python.

To run it in C:

gcc main.c
./a.out

To run it in Python:

python3 main.c

Tested with GCC 12.1.0 and Python 3.10.4

About

A quine in both C and Python at the same time


Languages

Language:C 89.1%Language:Shell 10.9%