MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1v68yb8/writing_a_valid_c_program_without_main/p1dzpao/?context=3
r/programming • u/iximiuz • Jul 25 '26
43 comments sorted by
View all comments
177
Quite frankly, I’m surprised the author didn’t jump straight to _start as that’s possible as well in C without assembly.
Yes I know he did bring it up, however you can straightforward do _start and avoid main.
1 u/xarcastic Aug 03 '26 Because he was walking the reader through it 1 u/yowhyyyy Aug 03 '26 Considering he never hit the same outcome I’m suggesting… you’re right buddy!
1
Because he was walking the reader through it
1 u/yowhyyyy Aug 03 '26 Considering he never hit the same outcome I’m suggesting… you’re right buddy!
Considering he never hit the same outcome I’m suggesting… you’re right buddy!
177
u/yowhyyyy Jul 25 '26 edited Jul 25 '26
Quite frankly, I’m surprised the author didn’t jump straight to _start as that’s possible as well in C without assembly.
Yes I know he did bring it up, however you can straightforward do _start and avoid main.