Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
In these lessons, we’ll begin by explaining C's block structure—most programming constructs are formed around blocks, which are groups of C statements that are part of a logical unit. Blocks also control how variables are seen by different parts of a program.
Next you’ll learn to write grammatical C statements using different syntactical structures such as curly braces and semicolons. We’ll then discusses the use of the comma, both as a separator when declaring variables and for indicating when two or more programming statements should be taken together, as if they are executing at the same time.
We’ll conclude with a discussion of various syntactical features of C including keywords, identifiers, the use of whitespace to make programs more readable, and using constants to distinguish important data.
The course covers C's block structure, forming grammatical statements in C using structures such as curly braces and semicolons, the comma operator, and miscellaneous syntax including keywords, identifiers, whitespace, and constants.
The course includes four lessons: C's Block Structure, Forming Statements in C, The Comma Operator, and Miscellaneous Syntax.
You will understand block structure and how it affects variables, be able to explain how programming statements are formed in C, and recognize the various uses of the comma in C programming.
This course relates to C (Programming Language), C Compilers, C Data Types, C Sharp Syntax, C-Based Programming Languages, and Syntax.
Blocks are groups of C statements that form a logical unit, and they control how variables are seen by different parts of a program.