Next:
Preface
Up:
C Programming FAQs
Previous:
C Programming FAQs
Contents
1. Declarations and Initializations
1.1 Basic Type
1.2 Pointer Declarations
1.3 Declaration Style
1.4 Storage Class
1.5 Typedefs
1.6 The const qualifier
1.7 Complex Declarations
1.8 Array Sizes
1.9 Declaraction Problems
1.10 Namespace
1.11 Initialization
2. Structures, Unions, and Enumerations
2.1 Structure Declaration
2.2 Structure Operations
2.3 Structure Padding
2.4 Accessing Members
2.5 Miscellaneous Structure Questions
2.6 Unions
2.7 Enumerations
2.8 Bitfields
3. Expressions
3.1 Evaluation Order
3.2 Other Expression Questions
3.3 Preserving Rules
4. Pointer
4.1 Basic Pointer Use
4.2 Pointer Manipulations
4.3 Pointers as Function Parameters
4.4 Miscellaneous Pointer Use
5. Null Pointers
5.1 Null Pointers and Null Pointer Constants
5.2 The NULL Macro
5.3 Retrospective
5.4 What's Really At Address 0?
6. Arrays and Pointers
6.1 Basic Relationship of Arrays and Pointers
6.2 Arrays Can't Be Assigned
6.3 Retrospective
6.4 Pointers to Arrays
6.5 Dynamic Array Allocation
6.6 Functions and Multidimensional Arrays
6.7 Sizes of Arrays
7. Memory Allocation
7.1 Basic Allocation Problems
7.2 Calling malloc
7.3 Problems with malloc
7.4 Freeing Memory
7.5 Sizes of Allocated Blocks
7.6 Other Allocation Functions
8. Characters and Strings
9. Boolean Expressions and Variables
10. C Preprocessor
10.1 Conditional Compilation
10.2 Fancier Processing
10.3 Macros with Variable-Length Argument Lists
11. ANSI/ISO Standard C
11.1 The Standard
11.2 Function Prototypes
11.3 The const Qualifier
11.4 Using main()
11.5 Preprocessor Features
11.6 Other ANSI C Issues
11.7 Old or Nonstandard Compilers
11.8 Compliance
11.9 volatile qualifier
11.10 restrict qualifier
11.11 Flexible Array Members
11.12 Types
12. The Standard I/O Library
12.1 Basic I/O
12.2 printf Formats
12.3 scanf Formats
12.4 scanf Problems
12.5 Other stdio Functions
12.6 Opening and Manipulating Files
12.7 Redirecting stdin and stdout
12.8 “Binary” I/O
13. Library Functions
13.1 String Functions
13.2 Sorting
13.3 Date and Time
13.4 Random Numbers
13.5 Other Library Functions
14. Floating Point
15. Variable-Length Argument Lists
15.1 Calling Varargs Functions
15.2 Implementing Varargs Functions
15.3 Extracting Variable-Length Arguments
15.4 Harder Problems
16. Strange Problems
17. Style
18. Tools and Resources
19. System Dependencies
20. Miscellaneous
20.1 Miscellaneous Techniques
20.2 Bits and Bytes
20.3 Efficiency
20.4 switch Statements
20.5 Miscellaneous Language Features
20.6 Other Languages
20.7 Algorithms
20.8 Trivia
21. Extensions
21.1 miscellaneous code
21.2 Debugging
21.3 Internationalization
22. ISO C Standard Consideration
Bibliography
Seong-Kook Shin
2018-05-28