The book starts with an introduction to programming in general followed by a detailed introduction to C programming. It then delves into a complete analysis of various constructs of C such as decision control and looping statements, functions, arrays, strings, pointers, structure and union, file management, and pre-processor directives. It also provides a separate chapter on linked list detailing the various kinds of linked lists and how they are used to allocatememory dynamically. A highly detailed pedagogical approach is followed throughout the book, which includes plenty of examples, figures, programming tips, keywords, and end-chapterexercises. These features should render the book an ideal resource for students to master and fine-tune the art of writing C programs.
Product Identifiers
Publisher
Oxford University Press, Incorporated
ISBN-10
0199452059
ISBN-13
9780199452057
eBay Product ID (ePID)
204288533
Product Key Features
Author
Reema Thareja
Publication Name
Introduction to C Programming
Format
Uk-Trade PAPER
Language
English
Publication Year
2014
Type
Textbook
Number of Pages
394 Pages
Dimensions
Item Length
11.3in
Item Height
0.7in
Item Width
8.9in
Item Weight
28.2 Oz
Additional Product Features
Lc Classification Number
Qa76.73.C15t53 2015
Edition Number
2
Table of Content
1: Introduction to Programming1.1 Introduction to Computer Software1.2 Classification of Computer Software1.3 Programming Languages1.4 Generation of Programming Languages1.5 Categorization of High Level Languages2: Introduction to C2.1 Introduction2.2 Structure of a C Program2.3 Writing the First C Program?2.4 Files Used in a C Program2.5 Compiling and Executing C Programs2.6 Using Comments2.7 Keywords2.8 Identifiers2.9 Basic Data Types in C2.10 Variables2.11 Constants2.12 Input/output Statement in C2.13 Operators in C2.14 Programming Examples2.15 Type Conversion and TypecastingAnnexure3: Decision Control and Looping Statements3.1 Introduction to Decision Control Statements3.2 Conditional Branching Statements3.3 Iterative Statements3.4 Nested Loops3.5 The Break and Continue Statement3.6 Goto Statement3.7 Building a Robust C ProgramAnnexure 2?4: Functions4.1 Introduction4.2 Using Functions4.3 Function Declaration/Function Prototype4.4 Function Definition4.5 Function Call4.6 Return Statement4.7 Passing Parameters to the Function4.8 Scope of Variables4.9 Storage Classes4.10 Recursive Functions4.11 Types of Recursion4.12 Tower of Hanoi4.13 Recursion versus IterationAnnexure 35: Arrays5.1 Introduction5.2 Declaration of Arrays5.3 Accessing Array Elements5.4 Storing Values in Arrays5.5 Length of an Array5.6 Array Operations5.7 One-Dimensional Arrays for Inter-Function Communication5.8 Two-Dimensional Arrays5.9 Operations on Two-dimensional(2D) Arrays5.10 Two-Dimensional Arrays for Inter-Function Communication5.11 Multidimensional Arrays5.12 Sparse MatricesAnnexure 46: Strings6.1 Introduction6.2 Suppressing Input6.3 String Taxonomy6.4 String Operations6.5 Miscellaneous String and Character Functions6.6 Array of Strings?2137: Pointers7.1 Understanding the Computer's Memory7.2 Introduction to Pointers7.3 Declaring Pointer Variables7.4 Pointer Expressions and Pointer Arithmetic7.5 Null Pointers7.6 Generic Pointers7.7 Passing Arguments to Function Using Pointers7.8 Pointers and Arrays7.9 Passing an Array to a Function7.10 Difference between Array Name and Pointer7.11 Pointers and Strings7.12 Array of Pointers7.13 Pointers and 2-D Arrays7.14 Pointers and 3-D Array7.15 Function Pointers7.16 Array of Function Pointers7.17 Pointers to Pointers7.18 Memory Allocation in C Programs7.19 Memory Usage7.20 Dynamic Memory Allocation7.21 Drawback of PointersAnnexure 58: Structure, Union, and Enumerated Data Types8.1 Introduction8.2 Nested Structures8.3 Arrays of Structures8.4 Structures and Functions8.5 Self-referential Structures8.6 Union?8.7 Arrays of Union Variables8.8 Unions Inside Structures8.9 Enumerated Data TypesAnnexure 69: Files9.1 Introduction to Files9.2 Using Files in C9.3 Read Data from Files9.4 Writing Data to Files9.5 Detecting the End-of-File9.6 Error Handling During File Operations9.7 Accepting Command Line Arguments9.8 Functions for Selecting a Record Randomly9.9 remove ()?9.10 Renaming the File9.11 Creating a Temporary File10: Preprocessor Directives10.1 Introduction10.2 Types of Preprocessor Directives10.3 #define10.4 #include10.5 #undef10.6 #line10.7 Pragma Directives10.8 Conditional Directives10.9 The Defined Operator10.10 #error Directive10.11 Predefined Macro NamesAnnexure11: Linked Lists11.1 Introduction11.2 Linked Lists versus Arrays11.3 Memory Allocation and Deallocation for a Linked List11.4 Different Types of Linked Lists11.5 Singly Linked List11.6 Circular Linked List11.7 Doubly Linked List?11.8 Circular Doubly Linked List11.9 Header Linked List