text.skipToContent text.skipToNavigation
  1. Home
  2. Computer Science & IT
  3. Book on C, A: Programming in C

Book on C, A: Programming in C, 4th edition

  • Al Kelley
  • Ira Pohl

Published by Addison-Wesley Professional (December 29th 1997) - Copyright © 1998

4th edition

Book on C, A: Programming in C

ISBN-13: 9780201183993

Includes: Paperback
Free delivery

What's included

  • Paperback

    You'll get a bound printed text.


Now in its fourth edition, A Book on C retains the features that have made it a proven, best-selling tutorial and reference on the ANSI C programming language. This edition builds on the many existing strengths of the text to improve, update, and extend the coverage of C, and now includes information on transitioning to Java and C++ from C.

Beginners and professional programmers alike will benefit from the numerous examples and extensive exercises developed to guide readers through each concept. Step-by-step dissections of program code illuminate the correct usage and syntax of C language constructs and reveal the underlying logic of their application. The clarity of exposition and format of the book make it an excellent reference on all aspects of C.

Highlights of A Book on C, Fourth Edition :

  • New and updated programming examples and dissections—the authors' trademark technique for illustrating and teaching language concepts.
  • Recursion is emphasized with revised coverage in both the text and exercises.
  • Multifile programming is given greater attention, as are the issues of correctness and type safety. Function prototypes are now used throughout the text.
  • Abstract Data Types, the key concept necessary to understanding objects, are carefully covered.
  • Updated material on transitioning to C++, including coverage of the important concepts of object-oriented programming.
  • New coverage is provided on transitioning from C to Java.
  • References to key programming functions and C features are provided in convenient tables.

  • Table of contents

    (Each chapter concludes with a Summary and Exercises.)


    Starting from Zero.

    Why C?

    ANSI C Standard.

    From C to C++.

    From C and C++ to Java.

    1. An Overview of C.

    Programming and Preparation.

    Program Output.

    Variables, Expressions, and Assignment.

    The Use of #define and #include.

    The Use of printf() and scanf().

    Flow of Control.



    Arrays, Strings, and Pointers.





    Operating System Considerations.

    Writing and Running a C Program.

    Interrupting a Program.

    Typing an End-of-file Signal.

    Redirection of the Input and the Output.

    2. Lexical Elements, Operators, and the C System.

    Characters and Lexical Elements.

    Syntax Rules.





    String Constants.

    Operators and Punctuators.

    Precedence and Associativity of Operators.

    Increment and Decrement Operators.

    Assignment Operators.

    An Example: Computing Powers of 2.

    The C System.

    The Preprocessor.

    The Standard Library.

    3. The Fundamental Data Types.

    Declarations, Expressions, and Assignment.

    The Fundamental Data Types.

    Characters and the Data Type char.

    The Data Type int.

    The Integral Types short, long, and unsigned.

    The Floating Types.

    The Use of typedef.

    The sizeof Operator.

    The Use of getchar() and putchar().

    Mathematical Functions.

    The Use of abs() and fabs().

    UNIX and the Mathematics Library.

    For teachers

    All the material you need to teach your courses.

    Discover teaching material