void _start() vs int main()

2 weeks ago 31

People, what's the difference between those entry points? If void _start() is the primary entry point, why do we use int main()? For example, if I don't want to return any value or I want to read command line arguments myself.

Also, I tried using void main() instead of int main(), and except warning nothing happened. Ok, maybe it's "violation of standard", but what does that exactly mean?

submitted by /u/Stunning-Plenty7714 to r/C_Programming
[link] [comments]
Read Entire Article