mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-29 06:38:02 -08:00
8 lines
364 B
Markdown
8 lines
364 B
Markdown
<!-- making C cheatsheets -->
|
|
|
|
main() Function
|
|
|
|
* The main() function is the starting point of the program: ```int main (int argc, char *argv[])```
|
|
* The return type of the main() function is an integer (type int) and it is known as the ```return value``` of the program.
|
|
* As a rule of thumb, ```value 0 means success while non-zero means an error conditions.```
|