O'Reilly logo

C Programming Absolute Beginner’s Guide, Third Edition by Dean Miller, Greg Perry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 --

Sizing up the situation

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required