Skip to content

Commit dbf0173

Browse files
committed
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)