---
# System prepended metadata

title: C Programming Notes
tags: [C Programming]

---

C Programming Notes
===

Home
---
- [C Programming Notes](/nPsdu9mSQYqaJbB9z8Kj0w)


Chapter 2 | C Fundamentals
---
- [Chapter 2 | C Fundamentals](/x3WdxYhqSq-btv3d9xJJZw)
    * 2.1 Writing a Simple Program
    * 2.2 The General Form of a Simple Program
    * 2.3 Comments
    * 2.4 Variables and Assignments
    * 2.6 Defining Names for Constants
    * 2.7 Identifers
    * 2.8 Layout of a C Program

Chapter 3 | Formatted Input/Output
---
- [Chapter 3 | Formatted Input/Output](/isRm80fPTN-CV3vyfVMAmA)
    * 3.1 The printf Function
    * 3.2 The scanf Function

Chapter 4 | Expressions
---
- [Chapter 4 | Expressions](/xkBPZs-BQGe1PEbVUhmMmA)
    * 4.1 Arithmetic Operators
    * 4.2 Assignment Operators
    * 4.3 Increment and Decrement Operators 
    * 4.4 Expression Evaluation
    * 4.5 Expression Statement

Chapter 5 | Selection Statements
---
- [Chapter 5 | Selection Statements](/vLn2Hg0BQVau7JoIaLfUAw)
    * 5.1 Logical Expressions
    * 5.2 The if Statement
    * 5.3 The switch Statement

Chapter 6 | Loops
---
- [Chapter 6 | Loops](/T6k5LUwkQdSOpzElYE4C-g)
    * 6.1 The while Statement
    * 6.2 The do Statement
    * 6.3 The for statement
    * 6.4 Exiting from a Loop

Chapter 7 | Basic types
---
- [Chapter 7 | Basic types](/Ns_g0CcWQdmyWoH_gvxIaA)
    * 7.1 Integer types
    * 7.2 Floating Types
    * 7.3 Character Types
    * 7.4 Type Conversion
    * 7.5 Type definition
    * 7.6 The sizeof Operator

Chapter 8 | Arrays
---
- [Chapter 8 | Arrays](/sR7VcMkkRUashXUif8RCOw)
    * 8.1 One-Dimensional Array
    * 8.2 Mulitidimentional Arrays
    * 8.3 Variable-Length Arrays - VLA (C99)

Chapter 9 | Functions
---
- [Chapter 9 | Functions](/V3y8kKDMSu-biio3QNJR7g)
    * 9.1 Defining and Calling Functions
    * 9.2 Function Declarations
    * 9.3 Arguments
    * 9.4 The return Statement
    * 9.5 Program Termination (in main)
    * 9.6 Recursion

Chapter 10 | Program Organization
---
- [Chapter 10 | Program Organization](/qyGzdsM0SXyircrdazYg-w)
    * 10.1 Local Variables
    * 10.2 External Variables
    * 10.3 Blocks
    * 10.4 Scope
    * 10.5 Organizing a C Program

Chapter 11 | Pointers
---
- [Chapter 11 | Pointers](/GMVl485fRqeO72DBSDBIWA)
    * 11.1 Pointer Variables
    * 11.2 The Address Operator and Indirection Operator
    * 11.3 Pointer Assignment
    * 11.4 Pointers as Arguments
    * 11.5 Pointers as Return Values

Chapter 12 | Pointers and Arrays
---
- [Chapter 12 | Pointers and Arrays](/yiMGK0YASDauvP_5FwE6Zg)
    * 12.1 Pointer Arithmetic 指標運算
    * 12.2 Using Pointers for Array Processing
    * 12.3 Using an Array Name as a Pointer
    * 12.4 Pointers and Multidimensional Arrays

Chapter 13 | Strings
---
- [Chapter 13 | Strings](/AhqjYOPYSX2xT1hF-mKANQ)
    * 13.1 String Literals 字串常值
    * 13.2 String Variables
    * 13.3 Reading and Writing Strings
    * 13.4 Accessing the Characters in a String
    * 13.5 Using the C String Library
    * 13.6 String Idioms
    * 13.7 Arrays of Strings

###### tags: `C Programming`