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 4

Data Variables and Types

Abstract

This chapter teaches the reader how data is declared in C. Is is explained how all data in C, whether a constant, expression, or variable, has an associated type. The relationship of the type to the range, interpretation, and storage method of the data is shown in detail.

The three most basic data types, character, integer, and floating point, are all covered in this chapter, along with the multiple variations and qualifiers that apply. Variable declarations, scope, and life are introduced in this chapter. The C typedef and enum are shown, as is the format of a C identifier and the C reserved key words.

Examples and exercises are for the popular PIC™ microcontroller manufactured by Microchip.

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