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 alTable 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
Effective C
The world runs on code written in the C programming language, yet most schools begin the …
book
Extreme C
Push the limits of what C - and you - can do, with this high-intensity guide …
book
Python for Programmers, First Edition
The professional programmer's Deitel® guide to Python® with introductory artificial intelligence case studies Written for programmers …
book
Modern C
Modern C introduces you to modern day C programming, emphasizing the unique and new features of …