Tagged: Operators


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: Bitwise Operators

By incorporating bitwise operations in its core language, C provides a way to program low level processor specific operations inside a more structured program (as compared to assembly).  C lets us perform ands, ors, exclusive ors, and one’s complement operations to chars and ints.


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.


Programming Language Crash Course (Bootstrap Part 1)

With variables, data types, flow control, functions, expressions, statements, subroutines, and such under your belt, you are prepared to understand more fully just about any programming that comes your way from any of the popular general purpose languages out there.  That’s really the core of what makes up programming today (granted you’re not using a more specialized language such as Prolog or LISP).