Home > Store

MyLab Programming with Pearson eText -- Instant Access -- for C How to Program, 9th Edition

MyLab Programming with Pearson eText -- Instant Access -- for C How to Program, 9th Edition


  • Your Price: $94.99
  • Usually ships in 24 hours.

Also available in other formats.

Register your product to gain access to bonus material or receive a coupon.



Reach every student with MyLab Programming with Pearson eText
MyLab® empowers you to reach every student. This flexible digital platform combines unrivaled content, online assessments, and customizable features so you can personalize learning and improve results, one student at a time. With MyLab Programming, students work through hundreds of short, auto-graded coding exercises and receive immediate and helpful feedback based on their work. Learn more about MyLab Programming.

Pearson eText is an easy-to-use digital textbook available within MyLab that lets students read, highlight, take notes, and review key vocabulary all in one place. If you're not using MyLab, students can purchase Pearson eText on their own or you can assign it as a course to schedule readings, view student usage analytics, and share your own notes with students. Learn more about Pearson eText.

About the book
user-friendly, code-intensive introduction to C programming

  • The Deitel signature live-code approach allows students to run full programs as they learn key concepts.
    • UPDATED - The 9th Edition features 142 complete, working, real-world C programsEach code example is followed with one or more sample executions.
    • UPDATED - All code examples and code selections were checked using the clang-tidy static code analysis tool.
  • NEW - Over 340 integrated Self-Check exercises with answers help students test and validate their understanding as they read.
    • Fill-in-the-blank, true/false, and discussion Self Checks focus on concepts and terminology.
    • Code-based Self Checks give students a chance to try out and reinforce programming techniques.
  • A focus on performance issues prepares readers for professional software-development challenges and practices.
  • UPDATED - Students are encouraged to think like developers by familiarizing themselves with popular open-source software and tools like Docker, GitHub, and StackOverflow.

Offers hundreds of real-world examples, exercises, and projects for hands-on practice

  • UPDATED - Seventeen case studies in systems programming and applications programming give students fun, hands-on opportunities to use C as it's intended to be used. New and enhanced case studies:
    • Focus on data science including simulations with random-number generation, survey data analysis, natural language processing, and artificial intelligence (machine-learning with simple linear regression).
    • Incorporate free open-source libraries and tools
    • Focus on visualization with gnuplot
  • UPDATED - Over 400 examples, exercises, and projects (EEPs) allow students to solve interesting, real-world problems working with real-world data. EEPs are drawn from an assortment of computer science, data science, and other fields to instruct and engage students.

Covers fundamental to advanced concepts in a flexible, modular format

  • Rich coverage of C fundamentals emphasizes problem-solving and algorithm development to gives novice programmers a solid foundation in programming principles.
  • Intermediate and advanced topics are included for use in higher-level courses or for further self-study.
  • The modular presentation covers fundamental to advanced concepts in groups of related chapters. Instructors can easily adapt the content to a variety of courses and audiences.
    • NEW - A one-page color Table of Contents chart on the inside front cover makes it easy to see the book's modular architecture and lists all 17 case studies.

Up-to-date content aligns with contemporary standards, trends, operating systems, and development tools

  • UPDATED - The book adheres to the C11/C18 standards to keep pace with expanded C capabilities. Terminology throughout has been updated to reflect the most recent C standard to help students prepare for programming as a career.
  • UPDATED - All program code is compatible with Windows, macOS, and Linux operating systems and has been tested using the latest versions of the Visual C++, XCode, and GNU gcc compilers.
  • UPDATED - Updated content aligns to the latest ACM/IEEE computing curricula recommendations, which call for covering security, data science, ethics, privacy, and performance concepts and using real-world data throughout the curriculum.
    • UPDATED - Enhanced and updated coverage of secure C programming includes additional SEI CERT C Coding Standards. All security-related issues are called out with an icon in the text.
    • UPDATED - Additional exercises ask students to use the Internet to research ethics and privacy issues in computing.
    • UPDATED - Performance icons identify areas in the text that discuss performance-related issues. The case study on multithreading and multicore performance has been enhanced.
    • NEW - Common errors and good software engineering practices are called out with new margin icons.
  • NEW - A new tutorial helps MacOS and Windows users compile and run programs using gcc in the cross-platform GNU Compiler Collection Docker container.
  • UPDATED - Expanded coverage of sorting algorithms and analysis of algorithms with Big O is included in a dedicated chapter (Chapter 13).
  • NEW - Appendix E presents a user-friendly overview of object-oriented programming fundamentals to help introduce students to different programming paradigms.

NEW - Reach every student with MyLab with Pearson eText

Teach your course your way

  • The Exercise Editor allows you to create new programming exercises. In addition to assigning the hundreds of programming exercises already available, you can create and assign programming exercises to customize your course.
  • Dynamic grading and assessment let you effortlessly track student performance. Your students' submissions are automatically graded, both saving you time, and offering students immediate learning opportunities. A dynamic roster tracks their performance and maintains a record of submissions. The color-coded gradebook gives you a quick glance of your classes' progress. Easily drill down to receive information on a single student's performance or a specific problem. Gradebook results can be exported to Excel to use with your LMS.
  • The Plagiarism Detection Tool alerts instructors of potential plagiarism issues by checking:
    • Students' average submission rate.
    • Students' average number of attempts until correct.
    • Students' average copy/paste rate.

Deliver trusted content

  • Hundreds of short, auto-graded coding exercises are mapped to Pearson's Introduction to Programming textbooks by industry-leading authors. The exercises help students master programming fundamentals (syntax, flow of control), allowing instructors to focus on higher-level concepts (problem solving).
  • VideoNotes are step-by-step video tutorials specifically designed to enhance the programming concepts presented in the text so students can view the entire problem-solving process outside of the classroom. when they need help the most.
  • Pearson eText is an easy-to-use digital textbook available within MyLab that lets students read, highlight, take notes, and review key vocabulary all in one place. Seamlessly integrated videos and media engage students and give them access to helpful learning tools. The mobile app lets students learn on the go, online or offline. Learn more about Pearson eText.

Empower learners

  • Immediate, personalized feedback is provided as students practice programming. The error-specific messages include both the feedback from the compiler and plain English interpretations of likely causes for the student's incorrect answer. Feedback for many exercises includes test case tables that show a student's output against expected output.


  • Copyright 2022
  • Edition: 9th
  • Book
  • ISBN-10: 0-13-739828-X
  • ISBN-13: 978-0-13-739828-7

C How to Program is a user-friendly, code-intensive introduction to C programming with case studies introducing applications and system programming. Like other texts of the Deitels How to Program series, the books modular presentation serves as a detailed beginner source of information for college students looking to embark on a career in coding, or instructors and software-development professionals seeking to learn how to program with C. The signature Deitel live-code approach presents concepts in the context of 142 full-working programs rather than incomplete snips of code. This gives you a chance to run each program as you study it and see how your learning applies to real-world programming scenarios.

Current standards, contemporary practice, and hands-on learning opportunities are integrated throughout the 9th Edition. Over 340 new integrated Self-Check exercises with answers allow you to test your understanding of important concepts and check your code as you read. New and enhanced case studies and exercises use real-world data and focus on the latest ACM/IEEE computing curricula recommendations, highlighting security, data science, ethics, privacy, and performance concepts.

Personalize learning with MyLab Programming with Pearson eText
This flexible digital platform combines unrivaled content, online assessments, and customizable features to personalize learning and improve results. With MyLab® Programming, you can work through hundreds of short, auto-graded coding exercises and receive immediate and helpful feedback based on your work.

Pearson eText is an easy-to-use digital textbook available within MyLab that lets you read, highlight, take notes, and review key vocabulary all in one place.

Sample Content

Table of Contents

PART 1: (Introductory) Programming Fundamentals Quickstart

1. Introduction to Computers and C: Test-Driving Microsoft Visual Studio, Apple Xcode, GNU gcc, and GNU gcc in a Docker container
2. Intro to C Programming: Input, Output, Types, Arithmetic, Decision Making
3. Structured Program Development: Algorithmic Development, Problem Solving, if, if/else, while
4. Program Control: for, do/while, switch, break, continue, Logical Operators
5. Functions: Custom Functions, Simulation, Random-Number Generation, Enumerations, Function Call and Return Mechanism, Recursion, Recursive Factorial, Recursive Fibonacci

PART 2: (Intermediate) Arrays, Pointers, and Strings

6. Arrays: One- and Two-Dimensional Arrays, Passing Arrays to Functions, Searching, Sorting
7. Pointers: Pointers operators & and , Pass-By-Value vs. Pass-By-Reference, Array and Pointer Relationship
8. Characters and Strings: C Standard Library String- and Character-Processing Functions

PART 3: (Intermediate) Formatted Input/Output, Structures, and File Processing

9. Formatted Input/Output: scanf and printf formatting
10. Structures, Unions, Bit Manipulation and Enumerations: Creating Custom Types with structs and unions, Bitwise Operators, Named Constants
11. File Processing: Streams, Text and Binary Files, CSV Files, Sequential and Random-Access Files

PART 4: (Advanced) Algorithms and Data Structures

12. Data Structures: Dynamic Memory Allocation and Deallocation, Lists, Stacks, Queues, Binary Trees
13. Computer-Science Thinking: Sorting Algorithms and Big O Insertion Sort, Selection Sort, Merge Sort, Additional Algorithms including Quicksort in the Exercises

PART 5: (Advanced) Preprocessor and Other Topics

14. Preprocessor: #include, Conditional Compilation, Macros with Arguments, Assertions
15. Other Topics: Variable-Length Argument Lists, Command-line Arguments, Multiple-Source-Pile Programs, extern, exit/atexit, calloc/realloc, goto, Numeric Literal Suffixes, Signal Handling

Operator Precedence Chart
ASCII Character Set
Number Systems
Multithreading/Multicore and other C18/C11/C99 Topics
Intro to Object-Oriented Programming Concepts

Online Appendices
F-H. Using the Visual Studio Debugger, Using the GNU gdb Debugger, and Using the Xcode Debugger

Case Studies

System Programming Case Studies
Systems Software: Building Your Own Computer
Systems Software: Building Your Own Compiler
Embedded Systems Programming: Robotics with the Webots Simulator
Performance with Multithreading and Multicore Systems

Applications Programming Case Studies
Random-Number Simulation: Building a Casino Game
Random-Number Simulation: Card Shuffling and Dealing
Random-Number Simulation: The Tortoise and the Hare Race
Intro to Data Science: Survey Data Analysis
Direct-Access File Processing: Transaction-Processing System
Visualizing a Sorting Algorithm: Merge Sort
Artificial Intelligence/Data Science: NLP: Who Wrote Shakespeare's Works?
Artificial Intelligence/Data Science: Machine Learning with the GNU Scientific Library
Game Programming: SpotOn Game with the raylib Library
Game Programming: Cannon Game with the raylib Library
Security and Cryptography: Implementing a Vigenère Cipher
Visualization with gnuplot: Law of Large Numbers Animation
Web Services and the Cloud: libcurl and OpenWeatherMap


Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020