O'Reilly logo

Learn C on the Mac: For OS X and iOS, Second Edition by James Bucanek, David Mark Scott Brown

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    8

More Data Types

You may now consider yourself a C Programmer, First Class. At this point, you’ve mastered all the basic elements of C programming. You know that C programs are made up of functions, one (and only one!) of which is named main(). Each of these functions uses keywords (such as if, for, and while), operators (such as =, ++, and *=), and variables to manipulate data and make decisions.

Sometimes you’ll use a parameter to pass values between a calling and a called function. Sometimes these parameters are passed by value; other times pointers are used to pass a parameter by address. Some functions return values. Others, declared with the void keyword, don’t return a value.

So far, all of the variables you’ve declared are ...

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