9. How Does C Do Math?
With Operators
In This Chapter
There are two kinds of operators. There are the ones who help you with long distance phone calls, but we won’t be discussing those. There are also C operators, which let you do math. You don’t have to be a math wizard to write programs that use math operators. C does all the math for you as long as you know how to list the operators properly.
Not only should you learn to recognize math operators, but you should also learn how C orders math operators. C doesn’t always calculate from left to ...
Get Absolute Beginner’s Guide to 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.