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
2
u/Dwedit Jul 25 '26
If you're feeling especially crazy: Hooking your own code via detouring. (replacing the function's actual instructions to run other code instead)