13. A Bigger Bag of Tricks—Some More Operators for Your Programs
In This Chapter
• Saying goodbye to if...else
and hello to conditional
• Using the small-change operators: ++
and --
Have patience! You’ve learned about almost all the C operators. With the exception of a few more advanced operators that you’ll read about in Chapter 24, “Solving the Mystery of Pointers,” this chapter rounds out the order of operators table and explains conditional operators, increment operators, and decrement operators.
C operators sometimes substitute for more wordy commands that you would use in other programming languages. Not only can an assortment of operators speed your program development time, but they also compile more efficiently ...
Get C Programming Absolute Beginner’s Guide, Third 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.