Basic Structure of a C Program
As we have seen from the last example, a C program requires a lot of lines even for a simple program.
If you feel intimidated by the program, DON'T! Because there is good news; we don't need to remember everything.
So, what should we remember to get started?
For now, just remember that every C program we will write will follow this structure:
#include <stdio.h>
int main() {
...
return 0;
}
And, we will write out code inside curly braces {}
.