
C Programming 2E
by King,K. N.-
We Buy This Book Back!
Buy New
Buy Used
Rent Textbook
eTextbook
We're Sorry
Not Available
How Marketplace Works:
- This item is offered by an independent seller and not shipped from our warehouse
- Item details like edition and cover design may differ from our description; see seller's comments before ordering.
- Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
- Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
- Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.
Summary
Table of Contents
Introducing C | |
History of C | |
Origins | |
Standardization | |
C++ | |
Strengths and Weaknesses of C | |
Strengths | |
Weaknesses | |
Effective Use of C | |
C Fundamentals | |
Writing a Simple Program | |
Program: Printing a Pun | |
Compiling and Linking | |
The General Form of a Simple Program | |
Directives | |
Functions | |
Statements | |
Printing Strings | |
Comments | |
Variables and Assignment | |
Types | |
Declarations | |
Assignment | |
Printing the Value of a Variable | |
Program | |
Computing the Dimensional Weight of a Box | |
Initialization | |
Printing Expressions | |
Reading Input Program: Computing the Dimensional Weight of a Box (Revisited) | |
Defining Constants Program: Converting from Fahrenheit to Celsius | |
Identifiers | |
Keywords | |
Layout of a C Program | |
Formatted Input/Output | |
The printf Function Conversion Specifications | |
Program: Using printf to Format Numbers | |
Escape Sequences | |
The scanf Function How scanf Works | |
Ordinary Characters in Format Strings | |
Confusing printf with scanf | |
Program: Computing the Value of Stock Holdings | |
Expressions | |
Arithmetic Operators | |
Operator Precedence and Associativity | |
Program: Computing a UPC Check Digit | |
Assignment Operators Simple Assignment | |
Lvalues | |
Compound Assignment | |
Increment and Decrement Operators | |
Expression Evaluation Order of Subexpression Evaluation | |
Expression Statements | |
5 Selection Statements | |
Logical Expressions Relational Operators | |
Equality Operators | |
Logical Operators | |
The if Statement Compound Statements | |
The else Clause | |
Cascaded if Statements | |
Program: Calculating a Broker's Commission | |
The 'Dangling else' Problem | |
Conditional Expressions | |
Boolean Values | |
The switch Statement The Role of the break Statement | |
Program: Printing a Date in Legal Form | |
Loops | |
The while Statement Infinite Loops | |
Program: Printing a Table of Squares | |
Program: Summing a Series of Numbers | |
The do Statement Program: Calculating the Number of Digits in an Integer | |
The for Statement for Statement Idioms | |
Omitting Expressions in a for Statement | |
The Comma Operator | |
Program: Printing a Table of Squares (Revisited) | |
Exiting from a Loop | |
The break Statement | |
The continue Statement | |
The goto Statement | |
Program: Balancing a Checkbook | |
The Null Statement | |
Basic Types | |
Integer Types Integer Constants | |
Reading and Writing Integers | |
Program: Summing a Series of Numbers (Revisited) | |
Floating Types | |
Floating Constants | |
Reading and Writing Floating-Point Numbers | |
Character Types | |
Escape Sequences | |
Character-Handling Functions | |
Reading and Writing Characters | |
Program: Determining the Length of a Message | |
The sizeof Operator | |
Type Conve | |
Table of Contents provided by Publisher. All Rights Reserved. |
An electronic version of this book is available through VitalSource.
This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.
By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.
Digital License
You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.
More details can be found here.
A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.
Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.
Please view the compatibility matrix prior to purchase.