Applications Programming in ANSI C / Edition 3

Paperback (Print)
Buy Used
Buy Used from
(Save 41%)
Item is in good condition but packaging may have signs of shelf wear/aging or torn packaging.
Condition: Used – Good details
Used and New from Other Sellers
Used and New from Other Sellers
from $19.71
Usually ships in 1-2 business days
(Save 89%)
Other sellers (Paperback)
  • All (22) from $19.71   
  • New (9) from $44.29   
  • Used (13) from $19.71   


The text takes a true introductory approach by assuming no prior programming experience in C or any other language.


  • sample applications allow students to see the development of a complete C program.
  • at the end of each chapter there is a "Common Programming Errors" section that alerts students to common pitfalls and mistakes.
  • programming exercises provide students with practice coding in C.
  • solutions to the odd-numbered "Section Review Exercises" are contained in the back of the text, allowing students to check their mastery of the section.
  • a comprehensive, in-depth introduction to C that is very cleanly written.
  • sample applications allow students to see the development of a complete C program.
  • NEW #151;includes a new chapter on computer systems and program development, chapter 0, to provide background for readers with no programming experience.
  • NEW #151;includes a new chapter on advanced topics.
  • offers more than 700 new and improved section review exercises.
  • provides more than 200 programming exercises.
Read More Show Less

Product Details

  • ISBN-13: 9780023611414
  • Publisher: Pearson
  • Publication date: 12/26/1995
  • Edition description: REV
  • Edition number: 3
  • Pages: 875
  • Product dimensions: 7.00 (w) x 9.00 (h) x 1.80 (d)

Table of Contents

(NOTE: Each chapter ends with common programming errors and programming exercises).

0. Computer Systems and Program Development.

Algorithms. Computer Systems. Internal representations. Programming Languages. Program Development. Why C?

1. Introduction to C.

A First C Program. Sample application: Conversion of lengths. Identifiers. The while statement. Sample Application: Computing Income Tax. The if statement. More on the if statement. Redirecting input and output. Files.

2. Variables, Operators, and Control Flow.

Characters and integers. Floating-point variables. Arithmetic operations. Relational and logical operators and the assignment operator. Sample application: Statistical measures. The for statement and the comma operator. The operators ++ and —. Sample application: Printing a bar graph.

3. More Operators and Control Flow.

The break and continue statements. Sample application: Generating prime numbers. The switch statement. The goto statement and labels. Conditional expressions. Sample application: Printing a calendar. The cast operator. The sizeof operator. Getchar and putchar. Bitwise operators.

4. Functions and Program Structure.

Introduction. Arguments and parameters. Call by value. Sample application: Computing Resistance. The scope of variables. The preprocessor. Sample application: Simulating a dice game. Recursion. Sample application: Recursive tiling. Functions with a arbitrary number of arguments.

5. Arrays.

Why arrays? Array indexes and cell offsets. Sample application: Tracking and reporting car sales. Character strings as arrays of characters. Sample application: Formatting text with a given line length. Arrays as function arguments. String-handling functions. Sample application: Computing a string's length. Multidimensional arrays. Sample application: Matrix multiplication. Sample application: Sorting and searching. Sample application: Forest fire percolation.

6. Pointers.

Pointer variables. Levels of indirection. Pointers and arrays. Pointers as arguments to functions. Sample application: Reversing a string in place. Sample application: Parallel computing. Pointers and multidimensional arrays. Command line arguments. Pointers to functions. Sample application: Comparing sorting algorithms.

7. Storage Classes and Type Qualifiers.

Storage classes in a single-source file: auto, extern, static. Sample application: Breaking text into pages. The storage class register. Storage classes in multiple-source files. Sample application: An interactive calculator. Nested blocks. Storage classes for functions. Type qualifiers: const and volatile. Sample application: A scheduling problem.

8. Input and Output.

Opening and closing files. Character input/output. Sample application: Determining a source file's size in bytes. String input/output. Formatted input/output. Unformatted input/output. Moving around in a file: fseek, ftell, rewind. Sample application: A random access file.

9. Structures, Unions, and Enumerated Types.

Introduction to structures. Sample application: Pattern recognition. The typedef construct. Operations on structures. Pointers to structures, nested structures, and self-referential structures. Structures and functions. Sample application: Sales reporting. Unions and bit fields. Enumerated types.

10. Introduction to Data Structures.

Compile-time and run-time storage allocation. Linked lists. Sample application: A text editor. Stacks and queues. Sample application: Converting from infix to postfix. Graphs and trees. Tree traversals. Breadth-first search and depth-first search. Sample application: Heuristic graph search.

11. Advanced Topics.

Assertions. Exception-handling and jumps. Graphics support for C. Sample application: Fractals. C and C++.

Appendices. ASCII and EBCDIC tables. Summary of the C language. Syntax diagrams of C. Some C functions. C and UNIX. VAX-11 C Borland C++, and Microsoft C++. Changes from traditional C.

Hints and Solutions to Odd-Numbered Exercises.


Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)