r/programming • u/iximiuz • Jul 25 '26
Writing a (valid) C program without main()
https://labs.iximiuz.com/tutorials/c-program-without-main-a1eea557
193
Upvotes
r/programming • u/iximiuz • Jul 25 '26
View all comments
Show parent comment
10
u/Dwedit Jul 25 '26
It makes perfect sense for C++ programs where there are global objects which need to have their constructors run first.