Lesson 2: Program Structure

  • C distinguishes the lexical structure (the punctuators, identifiers, and numbers), the grammatical structure (syntax), and the semantics (meaning) of programs.
  • All identifiers (names) must be declared so we know the properties of the concept they represent.
  • All objects (things that we deal with) and functions (methods that we use to deal with things) must be defined; that is, we must specify how and where they come to be.
  • Statements indicate how things are going to be done: iterations (for) repeat variations of certain tasks, function calls (printf(…)) delegate a task to a function, and function returns (return something;) go back where we came from.
1 Like

I think i logged into the forum correctly

1 Like

Yes, you did. Welcome. I will prepare two different C topics for the last two streams, tomorrow. This is an older topic.

ok. I do work tomarrow, so hopefully I can make it.

1 Like