Skip to content

valoran-M/C_programming_language

Repository files navigation

The C programming language

My notes on the book The C programming language (ANSI C).



Summary

Chapter1: Introduction

  1. Getting Stated
  2. Variables and Arithmetic Expressions
  3. The For Statement
  4. Symbolic Constants
  5. Character Input and Output
  6. Arrays
  7. Functions
  8. Arguments-Call by Value
  9. Cahracter Arrays
  10. External Varables and Scope

Chapter2: Types operators Expressions

  1. Variable Names
  2. Data Types and Sizes
  3. Constants
  4. Delcarations
  5. Arithmetic Operators
  6. Relational and Logiacal Operators
  7. Types Conversions
  8. In crement and Decrement Operator
  9. Bitwise Operator
  10. Assignement Operator and Expressions
  11. Conditional Expressions
  12. Precedence and Order of Evaluation

Chapter3: Control Flow

  1. Statements and Blocks
  2. If-Else
  3. Else-if
  4. Switch
  5. Loops - While and For
  6. Loops - Do-While
  7. Break and Continue
  8. Goto and Labels

Cahpter4: Functions And Program Strucutre

  1. Basics of Function
  2. Functions Returning Non-Integers
  3. External Varaibles
  4. Scope Rules
  5. Header Files
  6. Static Varaibles
  7. Register Variables
  8. Block Structure
  9. Initialization
  10. Recursion
  11. The C preprocessor

Chapter5: Pointers and Arrays

  1. Pointers and Addresses
  2. Pointers and Function Arguments
  3. Pointers and Arrays
  4. Address Arithmetic
  5. Character Pointers and Functions
  6. Pointer Array; Pointers to Pointer
  7. Multi-dimensional Arrays
  8. Initialization of Pointer Arrays
  9. Pointers vs. Multi-dimensional Arrays
  10. Command-line Arguments
  11. Pointer to Functions
  12. Complicated Declarations

Chapter6: Structures

  1. Basic of Structures
  2. Structures and Functions
  3. Arrays of structures
  4. Pointers to Structures
  5. Self-referential Structures
  6. Table Lookup
  7. Typedef
  8. Unions
  9. Bit-fields

Chapter7: Input and Output

  1. Standard Input and Ouput
  2. Formatted Output - Printf
  3. Variable-length Argument Lists
  4. Formatted Input-Scanf
  5. File Access
  6. Error Handling-Stderr and Exit
  7. Line Input and Output
  8. Miscellaneous Functions

Chapter8: The UNIX System Interface

  1. File Descriptors
  2. Low Level I/O - Read and Write
  3. Open, Creat, Close, Unlink
  4. Random Access-Lseek
  5. Example - An Implementation of Fopen and Gtec
  6. Exemple - Listing Directories
  7. Example - A Storage Allocator

About

My notes on the book The C programming language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages