␡
- Displaying Basic Information
- Manipulating Variable Values with Operators
- Understanding Punctuators
- Moving Values with the Assignment Operator
- Working with Mathematical/Arithmetic Operators
- Making Comparisons with Relational Operators
- Understanding Logical Bitwise Operators
- Understanding the Type Operators
- Using the sizeof Operator
- Shortcutting with the Conditional Operator
- Understanding Operator Precedence
- Converting Data Types
- Understanding Operator Promotion
- Bonus Material: For Those Brave Enough
- Summary
- Q&A
- Workshop
This chapter is from the book
Summary
Today's lesson presents a lot of information regarding operators and their use. You learned about the types of operators, including arithmetic, multiplicative, relational, logical, and conditional. You also learned the order in which operators are evaluated (operator precedence). When working with values, you learned that there are both implicit and explicit conversions. Explicit conversions are ones that you make happen. Implicit conversions occur automatically. Finally, today's lesson ended with a section on bitwise operations and the bitwise operators, for those who were brave enough.