C Tutorial/Language/main function
main() function in C
In all C programs, the starting point is the main() function.
Every C program has one.
<source lang="cpp">#include <stdio.h>
int main() {
printf("Goodbye!\n"); return(0);
}</source>
Goodbye!