You must log in or register to comment.
Should return 0;.
>What is C++? A miserable huge pile of "should"s
should have a space after „>” and two new lines after „?”.
I guess markdown is miserable as well.
Still love it tho. You can make it whatever you want!
Not needed, main in C++ implicitly returns 0 if there is no return
Should ≠ Needs to
You can do it, and it will work, but it’s unclean and not best-practice. I wouldn’t be surprised if it’s undefined behaviour.
Just to clarify. It is defined behavior - there’s plenty of undefined behavior in C but that ain’t one of them.
It likely does, at some point within the ellipsis.