Hacker News new | past | comments | ask | show | jobs | submit login

This works on my RHEL9-compatible for a .c file (using gcc). The type specifier for main is implicitly `int`. You get some warnings about implicit types and implicit declarations, but you get a binary that when executed writes "Hello, world".



It's "K&R1" C.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: