Book description
Designed for a compulsory fundamental course, C: From Theory to Practice uses a hands-on approach to teach the C programming language, using numerous examples and a clear, concise presentation. Easy to use and classroom tested, this textbook includes more than 500 exercises and examples of progressive difficulty to help students in understanding al
Table of contents
- Preface
- Acknowledgments
- Authors
- Chapter 1 - Introduction to C
- Chapter 2 - Data Types, Variables, and Data Output
- Chapter 3 - Getting Input with scanf()
-
Chapter 4 - Operators
- Assignment Operator
- Arithmetic Operators
- Increment and Decrement Operators
- Relational Operators
- Exercises
- Not Operator !
- Exercises
- Compound Operators
- Exercise
- Logical Operators
- Exercises
- Comma Operator
- Exercise
- sizeof Operator
- enum Type
- Bitwise Operators
- Exercise
- Shift Operators
- Exercises
- Operator Precedence
- Unsolved Exercises
- Chapter 5 - Program Control
- Chapter 6 - Loops
- Chapter 7 - Arrays
-
Chapter 8 - Pointers
- Pointers and Memory
- Declaring Pointers
- Pointer Initialization
- NULL Value
- Use a Pointer
- Exercises
- void* Pointer
- Use of const Keyword
- Pointer Arithmetic
- Exercises
- Pointers and Arrays
- Exercises
- Arrays of Pointers
- Exercises
- Pointer to Pointer
- Exercises
- Pointers and Two-Dimensional Arrays
- Exercises
- Pointer to Function
- Exercise
- Array of Pointers to Functions
- Unsolved Exercises
- Chapter 9 - Characters
- Chapter 10 - Strings
-
Chapter 11 - Functions
- Function Declaration
- Return Type
- Function Parameters
- Function Definition
- return Statement
- Function Call
- Exercises
- Variables Scope
- Arrays as Arguments
- Exercises
- Function Call with Parameter Two-Dimensional Array
- Exercises
- Passing Data in main() Function
- Exercises
- Functions with Variable Number of Parameters
- Recursive Functions
- Exercises
- Unsolved Exercises
- Chapter 12 - Searching and Sorting Arrays
- Chapter 13 - Structures and Unions
- Chapter 14 - Memory Management and Data Structures
-
Chapter 15 - Files
- Files in C
- Open a File
- Close a File
- Process a File
- Write Data in a Text File
- Exercise
- Exercises
- Read Data from a Text File
- Exercises
- Exercise
- Exercises
- End of File
- fseek() Function
- ftell() Function
- Write and Read Data from a Binary File
- Exercises
- Exercises
- feof() Function
- Exercise
- Unsolved Exercises
- Chapter 16 - Preprocessor Directives and Macros
- Chapter 17 - Review Exercises
- Appendix A
- Appendix B
- Appendix C
- Appendix D
- Bibliography
Product information
- Title: C
- Author(s):
- Release date: February 2014
- Publisher(s): CRC Press
- ISBN: 9781498760317
You might also like
book
C Programming
C Programming: Test Your Skills is specifically designed to be used as the supplementary resource for …
book
C in a Nutshell, 2nd Edition
The new edition of this classic O’Reilly reference provides clear, detailed explanations of every feature in …
book
Smaller C
For makers looking to use the smallest microcontrollers or to wring the highest performance out of …
book
Practical C
Learn practical C techniques, including often-needed algorithms within reusable functions. In this book, you'll have the …