Lesson 3 of 50
cBasic Syntax & Structure
7 mins
Course progress6%
What you'll learn
Keep these ideas in mind as you work through the lesson.
Lesson 3 of 50
c7 mins
Keep these ideas in mind as you work through the lesson.
Every C source file is a collection of function definitions. The entry point is int main(void) (or int main(int argc, char *argv[])).
Key syntax rules:
;.{}.// line comment and /* block comment */.int main(void) {
// code goes here
return 0;
}