Chapter 3. ExpressionsAn expression combines literals, names, operators, and symbols to express or compute a value, or to achieve a side effect. This chapter describes the rules for writing and understanding expressions, including information on lvalues and rvalues, type conversion, constant expressions, and how C++ evaluates expressions. It contains detailed descriptions of all the operators and other forms of expressions. The syntax descriptions in this chapter are informal. See Chapter 12 for a precise BNF grammar. |