This article is part of a series – How to Program Anything: C Programming Preface This article is a continuation on expressions that can be constructed in the C language. This article will focus...
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.
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.
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).