Lesson 4. The Pieces of a C Program: Statements, Expressions, and Operators
C programs consist of statements, and most statements are composed of expressions and operators. To write C programs, you need to understand statements, expressions, and operators. In this lesson you learn:
What a statement is
What an expression is
How to use C’s mathematical, relational, and logical operators
What operator precedence is
The if
statement
Statements
Get C Programming in One Hour a Day, Sams Teach Yourself, 7th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.