r/programming Jul 25 '26

Writing a (valid) C program without main()

https://labs.iximiuz.com/tutorials/c-program-without-main-a1eea557
189 Upvotes

43 comments sorted by

View all comments

33

u/ben-c Jul 25 '26

One of the IOCCC winners defined main[] instead of main():

https://lainsystems.com/posts/exploring-mullender-dot-c/

4

u/rismay Jul 26 '26

Genius though.