Write a program that outputs an exact copy of its source code (without reading a...

@barubary@infosec.exchange

Write a program that outputs an exact copy of its source code (without reading any files).

Additional constraints:

  • Write the program in portable standard C.
  • All output must come from a single fputs(src, stdout) call where src is an array of char.
  • The main function must be exactly int main(void) { fputs(src, stdout); return 0; }.

#programming #exercise #quine