O'Reilly logo

C Programming: Visual Quickstart Guide by Marc Liyanage, Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Introduction to Data Types

Before you can begin doing any serious C programming, you'll need a basic grasp of the available data types. The C language has several types—from numbers to characters and more advanced categories—each with its own specific purpose. What they all have in common is their ability to temporarily store information in memory, so that your applications can perform math, manipulate strings, take user input, and much, much more.

In this chapter you'll get a quick introduction to the most basic data types you'll be using throughout the rest of this book. In the process, you'll also learn about how to declare variables, assign values to them, and print their values.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required