Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dbf0173

Browse files
Update readme.
1 parent 2474499 commit dbf0173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎009-int-main-no-return/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- I would always write `return 0;` inside the `int main()` function because I thought it was required
66
- This may have been a force of habit from learning C in a computer architecture course in college
7-
- Turns out that `return 0;` is option, and not required in `int main()`
7+
- Turns out that `return 0;` is optional (and not required in `int main()`)
88
- The following code (with no return statement in the main function) will compile and run correctly
99
- In order to investigate why, we need to understand the compiler. (In this case Clang.)
1010

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /