Skip to Main Content
Programming in C, Fourth Edition
book

Programming in C, Fourth Edition

by Stephen G. Kochan
August 2014
Beginner content levelBeginner
552 pages
15h 37m
English
Addison-Wesley Professional
Content preview from Programming in C, Fourth Edition

3. Variables, Data Types, and Arithmetic Expressions

The true power of programs you create is their manipulation of data. In order to truly take advantage of this power, you need to better understand the different data types you can use, as well as how to create and name variables. C has a rich variety of math operators that you can use to manipulate your data. In this chapter you will cover:

Image The int, float, double, char, and _Bool data types

Image Modifying data types with short, long, and long long

The rules for naming variables

Basic math operators ...

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

Programming in C, Third Edition

Programming in C, Third Edition

Stephen G. Kochan
C Programming Language, 2nd Edition

C Programming Language, 2nd Edition

Brian W. Kernighan, Dennis Ritchie

Publisher Resources

ISBN: 9780132781206Purchase book