Tagged: Order of Operations


Programming in C: Program Operators and Order of Operations

This article is a continuation on expressions that can be constructed in the C language.  This article will focus on expressions involving operators.  If you remember, expressions are pieces of code that are executed right away to yield some kind of result, as opposed to a statement which may affect an entire program’s structure.


Programming In C: Arithmetic Operators

C includes the basic arithmetic operators, including assignment, division, multiplication, addition, subtraction and modulus.  When you operate on variables and other literals you have to be careful of your type conversions that C automatically does for you, lest you lose some of the data you are trying to protect.