Skip to Content
Embedded C Programming
book

Embedded C Programming

by Mark Siegesmund
September 2014
Beginner to intermediate
424 pages
10h 4m
English
Newnes
Content preview from Embedded C Programming
Chapter 5

Expressions and Operators

Abstract

This chapter covers in detail the C mathematical, relational, bitwise, assignment, increment, decrement, and some special operators. Details with examples of all the C operators are presented.

The expression makeup of operators and operands is shown, along with the use of binary, unary, and ternary operators. The reader will learn about operator precedence and evaluation direction, right to left and left to right.

Expression types are explained along with type conversion. Both the automatic conversion known as the usual arithmetic conversion and manual conversion known as type casting are explained. A brief introduction to sequence points is also included in this chapter.

Examples and exercises ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical C Programming

Practical C Programming

B. M. Harwani

Publisher Resources

ISBN: 9780128013144