Always Learning

C Programming Language, 2/E
Brian W. KernighanAT&T Bell Laboratories
Dennis RitchieAT&T Bell Laboratories

ISBN-10: 0131103628
ISBN-13:  9780131103627

Publisher:  Prentice Hall
Copyright:  1988
Format:  Paper; 274 pp
Published:  03/22/1988
Status: Instock


Customers outside the U.S., click here.


Print this content

In this section:


Description

This second editon describes C as defined by the ANSI standard. This book is meant to help the reader learn how to program in C. The book assumes some familiarity with basic programming concepts like variables, assignment statements, loops, and functions. A novice programmer should be able to read along and pick up the language.


Features

  • all examples have been tested, which is in machine-readable form.
  • it discusses various aspects of C in more detail, although the emphasis is on examples of complete programs, rather than isolated fragments.
  • it deals with basic data types, operators and expressions.
  • covers functions and program structure, external variables, scope rules, multiple source files, and also touches on the preprocessor.
  • it also describes an interface between C programs and the UNIX operating system, concentrating on input/output, the file system, and storage allocation.
  • it also provides a language reference manual. The official statement of the syntax and semantics of C is the ANSI standard.


New To This Edition

This second editon describes C as defined by the ANSI standard. This book is meant to help the reader learn how to program in C. The book assumes some familiarity with basic programming concepts like variables, assignment statements, loops, and functions. A novice programmer should be able to read along and pick up the language.


Table of Contents



1. A Tutorial Introduction.


2. Types, Operators, and Expressions.


3. Control Flow.


4. Functions and Program Structure.


5. Pointers and Arrays.


6. Structures.


7. Input and Output.


8. The UNIX System Interface.


Appendix A.


Appendix B.


Appendix C.


Index.



Back to top

Print this content

In this section:


Sample Chapter

View a Sample Chapter PDF:/samplechapter/0131103628.pdf


Author Bios

Brian W. Kernighan works in the Computing Science Research Center at Bell Laboratories, Lucent Technologies. He is Consulting Editor for Addison-Wesley's Professional Computing Series and the author, with Dennis Ritchie, of The C Programming Language.

 

Dennis Ritchie was a computer scientist notable for his influence on ALTRAN, B, BCPL, C, Multics, and Unix.

 

 

 


Backcover Copy

This book is meant to help the reader learn how to program in C. It is the definitive reference guide, now in a second edition. Although the first edition was written in 1978, it continues to be a worldwide best-seller. This second edition brings the classic original up to date to include the ANSI standard.

From the Preface:

We have tried to retain the brevity of the first edition. C is not a big language, and it is not well served by a big book. We have improved the exposition of critical features, such as pointers, that are central to C programming. We have refined the original examples, and have added new examples in several chapters. For instance, the treatment of complicated declarations is augmented by programs that convert declarations into words and vice versa. As before, all examples have been tested directly from the text, which is in machine-readable form.

As we said in the first preface to the first edition, C "wears well as one's experience with it grows." With a decade more experience, we still feel that way. We hope that this book will help you to learn C and use it well.

Back to top

Log in to the Instructor Resource Center

Login name: 

  Password: 

Forgot login/password?  |  Need to redeem an access code?

        

Instructor Resource Center File Download

This work is protected by local and international copyright laws and is provided solely for the use of instructors in teaching their courses and assessing student learning. Dissemination or sale of any part of this work (including on the World Wide Web) will destroy the integrity of the work and is not permitted. The work and materials from this site should never be made available to students except by instructors using the accompanying text in their classes. All recipients of this work are expected to abide by these restrictions and to honor the intended pedagogical purposes and the needs of other instructors who rely on these materials.

Cancel     I accept, proceed with download

Print this content

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students, browse our available packages below, or contact your Pearson Higher Education representative to create your own package.

Package ISBN-10: 0131643401 | ISBN-13: 9780131643406
©2004 | Out of Stock
Suggested retail price: $217.87  Buy from myPearsonStore

This package contains:

Kernighan & Ritchie | ©1988 | Prentice Hall | Paper; 274 pp
Deitel, Deitel & Choffnes | ©2004 | Prentice Hall | Paper; 1272 pp


Package ISBN-10: 0131228315 | ISBN-13: 9780131228313
©2003 | Instock (Additional assembly time required)
Suggested retail price: $159.33  Buy from myPearsonStore

This package contains:

Kernighan & Ritchie | ©1988 | Prentice Hall | Paper; 274 pp
Glass & Ables | ©2003 | Prentice Hall | Paper; 687 pp


Package ISBN-10: 0130779628 | ISBN-13: 9780130779625
©2002 | Instock
Suggested retail price: $97.00  Buy from myPearsonStore

This package contains:

Kernighan & Ritchie | ©1988 | Prentice Hall | Paper; 274 pp
Harbison & Steele | ©2002 | Prentice Hall | Paper; 560 pp


Package ISBN-10: 0136120466 | ISBN-13: 9780136120469
©2010 | Instock (Additional assembly time required)
Suggested retail price: $198.93  Buy from myPearsonStore

This package contains:

Kernighan & Ritchie | ©1988 | Prentice Hall | Paper; 274 pp
Stallings | ©2010 | Prentice Hall | Cloth; 792 pp


Package ISBN-10: 013269610X | ISBN-13: 9780132696104
©2010 | Instock (Additional assembly time required)
Suggested retail price: $162.07  Buy from myPearsonStore

This package contains:

Kernighan & Ritchie | ©1988 | Addison-Wesley | Paper; 274 pp
Hoover | ©2010 | Addison-Wesley | Cloth; 400 pp


Back to top