did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780393969467

Study Guide for C Programming: A Modern Approach

by
  • ISBN13:

    9780393969467

  • ISBN10:

    0393969460

  • Edition: 1st
  • Format: Paperback
  • Copyright: 1998-01-17
  • Publisher: W. W. Norton & Company

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $44.88 Save up to $16.60
  • Rent Book $28.28
    Add to Cart Free Shipping Icon Free Shipping

    TERM
    PRICE
    DUE
    USUALLY SHIPS IN 3-5 BUSINESS DAYS
    *This item is part of an exclusive publisher rental program and requires an additional convenience fee. This fee will be reflected in the shopping cart.

Supplemental Materials

What is included with this book?

Summary

This introduction to the C programming language is based on the C ANSI dialect and is usable with all ANSI-compatible compilers and all operating systems. The three main parts of the text are: basic grounding in C; advanced topics and program writing; and a reference apparatus.

Table of Contents

Preface xi
How to Use This Study Guide xi
Acknowledgments xi
Introducing C
1(6)
Chapter Summary
1(1)
C and Other Languages
1(3)
C and Pascal
1(1)
C and Fortran
2(2)
C and BASIC
4(1)
Exercises
4(3)
C Fundamentals
7(8)
Chapter Summary
7(2)
Solved Exercises
9(3)
Solved Exercise 1: Calculating Net Pay
9(3)
Programming Exercises
12(3)
Formatted Input/Output
15(8)
Chapter Summary
15(1)
The printf function
15(1)
The scanf function
15(1)
Solved Exercises
16(4)
Solved Exercise 1: Calculating Travel Time
16(4)
Programming Exercises
20(3)
Expressions
23(6)
Chapter Summary
23(2)
Questions and Answers
25(1)
Programming Exercises
26(3)
Selection Statements
29(12)
Chapter Summary
29(2)
Logical Expressions
29(1)
The if Statement
29(2)
The switch Statement
31(1)
Solved Exercises
31(6)
Solved Exercise 1: A Grading Program
31(6)
Programming Exercises
37(4)
Loops
41(14)
Chapter Summary
41(2)
The while Statement
41(1)
The do Statement
41(1)
The for Statement
42(1)
Exiting from a Loop
42(1)
The Null Statement
43(1)
Solved Exercises
43(8)
Solved Exercise 1: Loan Amortization
43(3)
Solved Exercise 2: The Chess Knight's Moves
46(5)
Programming Exercises
51(4)
Basic Types
55(12)
Chapter Summary
55(3)
Integer Types
55(1)
Floating Types
55(1)
Character Types
56(1)
The sizeof Operator
56(1)
Type Conversion
57(1)
Type Definitions
57(1)
Solved Exercises
58(5)
Solved Exercise 1: A Word Analysis and Counting Program
58(5)
Programming Exercises
63(4)
Arrays
67(14)
Chapter Summary
67(2)
One-Dimensional Arrays
67(1)
Multidimensional Arrays
68(1)
Solved Exercises
69(6)
Solved Exercise 1: Very Large Numbers
69(4)
Solved Exercise 2: Sorting
73(2)
Programming Exercises
75(6)
Functions
81(14)
Chapter Summary
81(4)
Defining and Calling Functions
81(2)
Function Declarations
83(1)
Arguments
83(1)
The return Statement
84(1)
Program Termination
84(1)
Recursive Functions
84(1)
Solved Exercises
85(6)
Solved Exercise 1: Plotting the Sine Function
85(4)
Solved Exercise 2: Recursive Sorting
89(2)
Programming Exercises
91(4)
Program Organization
95(8)
Chapter Summary
95(1)
Local Variables
95(1)
External Variables
95(1)
Blocks and Scope
95(1)
Organizing a C Program
95(1)
Solved Exercises
96(2)
Solved Exercise 1: Sets of Numbers
96(2)
Programming Exercises
98(5)
Pointers
103(8)
Chapter Summary
103(2)
Solved Exercises
105(2)
Solved Exercise 1: Complex Numbers
105(2)
Programming Exercises
107(4)
Pointers and Arrays
111(8)
Chapter Summary
111(2)
Solved Exercises
113(4)
Solved Exercise 1: Matrix Multiplication
113(4)
Programming Exercises
117(2)
Strings
119(8)
Chapter Summary
119(2)
String Basics
119(1)
String Operations
120(1)
Arrays of Strings
120(1)
Solved Exercises
121(3)
Solved Exercise 1: Indenting a C Program
121(3)
Programming Exercises
124(3)
The Preprocessor
127(10)
Chapter Summary
127(3)
Macro Definition
127(2)
Conditional Compilation
129(1)
Solved Exercises
130(4)
Solved Exercise 1: Macros versus Functions
130(2)
Solved Exercise 2: Stacks of Different Types
132(2)
Programming Exercises
134(3)
Writing Large Programs
137(14)
Chapter Summary
137(3)
Header Files
137(2)
Building a Multiple-File Program
139(1)
Solved Exercises
140(6)
Solved Exercise 1: Sets of Numbers
140(6)
Programming Exercises
146(5)
Structures, Unions, and Enumerations
151(14)
Chapter Summary
151(4)
Structures
151(2)
Unions and Enumerations
153(2)
Solved Exercises
155(6)
Solved Exercise 1: A Bank Simulation
155(6)
Programming Exercises
161(4)
Advanced Uses of Pointers
165(14)
Chapter Summary
165(4)
Dynamic Storage
165(2)
Linked Lists
167(1)
Pointers to Functions
168(1)
Solved Exercises
169(7)
Solved Exercise 1: Sets (Revisited)
169(5)
Solved Exercise 2: Numeric Integration
174(2)
Programming Exercises
176(3)
Declarations
179(6)
Chapter Summary
179(2)
Storage Classes and Type Qualifiers
179(1)
Declarators and Initializers
180(1)
Solved Exercises
181(2)
Solved Exercise 1: Arrays of Pointers to Functions
181(2)
Programming Exercises
183(2)
Program Design
185(12)
Chapter Summary
185(5)
Modules, Information Hiding, and Abstract Data Types
185(2)
C++
187(3)
Solved Exercises
190(4)
Solved Exercise 1: A Stack Program in C and in C++
190(1)
Solved Exercise 2: The ADT Car
191(3)
Programming Exercises
194(3)
Low-Level Programming
197(8)
Chapter Summary
197(1)
Bitwise Operators
197(1)
Bit-Fields in Structures
197(1)
Solved Exercises
198(4)
Solved Exercise 1: Hamming Codes
198(4)
Programming Exercises
202(3)
The Standard Library
205(4)
Chapter Summary
205(1)
Solved Exercises
206(1)
Solved Exercise 1: Holes in a Structure
206(1)
Programming Exercises
206(3)
Input/Output
209(10)
Chapter Summary
209(3)
Streams
209(1)
Formatted I/O
210(1)
Character, Line, Block, and String I/O
211(1)
Solved Exercises
212(5)
Solved Exercise 1: A Bank Simulation (Revisited)
212(2)
Solved Exercise 2: A Parts Database Program
214(3)
Programming Exercises
217(2)
Library Support for Numbers and Character Data
219(6)
Chapter Summary
219(2)
Solved Exercises
221(2)
Solved Exercise 1: A Text Formatter (Revisited)
221(1)
Solved Exercise 2: A Tokenizer Program
222(1)
Programming Exercises
223(2)
Error Handling
225(8)
Chapter Summary
225(1)
Solved Exercises
226(5)
Solved Exercise 1: Efficient String Search
226(4)
Solved Exercise 2: An Interruptible File Printer
230(1)
Programming Exercises
231(2)
International Features
233(4)
Chapter Summary
233(2)
Solved Exercises
235(1)
Solved Exercise 1: Printing Locale Information
235(1)
Programming Exercises
236(1)
Miscellaneous Library Functions
237
Chapter Summary
237
Variable Argument Lists
237
General Utilities
237
The <time.h> header
238
Solved Exercises
239
Solved Exercise 1: Sorting Random Numbers
239
Programming Exercises
242

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program