Book description
C Programming Essentials is specifically designed t be used at the beginner and intermediate level. The book is organized around language as the tool for design and programming and library functions. It demonstrates key techniques that make C effective and focuses on the fundamental concepts necessary for mastery. An introduction to C99 is also provided.
Table of contents
- Cover
- C Programming Essentials
- Copyright
- Contents (1/2)
- Contents (2/2)
- Preface
- Introduction
-
The Foundation of C
- Memory and Storage
- C Character Set
- C Keywords
- Whitespaces in C
- Data Types
- C Constants
- Variables
- A Peek at Functions
- Useful Identifier-Naming Conventions
- Type-Declaration Statements
- Operators (1/2)
- Operators (2/2)
- Operator Precedence
- Type Conversion in Expressions
- Type Conversion in Assignments
- Comments
- Functions Revisited
- Putting it Together
- Some Standard Library I/O Functions (1/2)
- Some Standard Library I/O Functions (2/2)
- Scope of Identifiers
- Storage Classes
- Storage Type Qualifiers
- Control
- Functions and Recursion
-
Arrays
- Need for Arrays
- Single-Dimensional Arrays
- Single-Dimensional Array Initialization
- Multi-Dimensional Arrays
- Matrices
- Row-Major and Column-Major Order
- Single-Dimensional Character Arrays
- Initialization of Strings
- gets( ) and puts( )
- sscanf( ) and sprintf( )
- String Functions
- Two-Dimensional Character Arrays
-
Pointers
- Defining a Pointer
- Scalars for Pointers
- Pointer Assignments and Expressions
- Pointer Comparison
- Passing Pointers to Functions
- Pointers and Arrays—Pointer Arithmetic (1/2)
- Pointers and Arrays—Pointer Arithmetic (2/2)
- Pointers and Two-Dimensional Arrays
- Arrays of Pointers
- Pointers to Pointers
- Pointers to Functions
- Command-Line Arguments
- Other Pointer Issues
-
User-Defined Data Types
- Structures
- Declaring a Structure
- Defining a Structure Variable
- Initializing and Referencing Structure Members
- Nesting of Structures
- Operations on Structures
- Pointers to Structures
- Structures and Functions
- Arrays of Structures
- Self-Referential Structures
- Unions
- Enumerated Data Types
- Typedef
- Bit Fields
- File Access and Processing
- The C Preprocessor
- Common Errorsin C (1/3)
- Common Errorsin C (2/3)
- Common Errorsin C (3/3)
- More on Bitwise Operators in C
- Some Useful Functions from stdlib.h
- Creating Static Library with gcc
- C99-A Brief Introduction
- Practice Problems (1/9)
- Practice Problems (2/9)
- Practice Problems (3/9)
- Practice Problems (4/9)
- Practice Problems (5/9)
- Practice Problems (6/9)
- Practice Problems (7/9)
- Practice Problems (8/9)
- Practice Problems (9/9)
- Index
- Back Cover
Product information
- Title: C Programming Essentials, 1st Edition
- Author(s):
- Release date: April 2024
- Publisher(s): Pearson India
- ISBN: 9781282652255
You might also like
book
Practical C Programming
A comprehensive guide with practical instructions for learning data structures, low-level programming, high-performance computing, networking and …
book
Intermediate C Programming, 2nd Edition
Revised for a new second edition, Intermediate C Programming provides a stepping-stone for intermediate-level students to …
book
C for Programmers with an Introduction to C11
The professional programmer’s Deitel® guide to procedural programming in C through 130 working code examples Written …
book
Practical C Programming, 3rd Edition
There are lots of introductory C books, but this is the first one that has the …