4 EXPRESSIONS AND OPERATORS
In this chapter, you’ll learn about operators and how to write simple expressions to perform operations on various object types. An operator is a keyword or one or more punctuation characters used to perform an operation. When an operator is applied to one or more operands, it becomes an expression that computes a value and that might have side effects. Expressions are sequences of operators and operands that compute a value or accomplish another purpose. The operands can be identifiers, constants, string literals, and other expressions.
In this chapter, we discuss simple assignment before stepping back to examine ...
Get Effective C, 2nd 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.