Description
Authored by two standout professors in the field of Computer Science and Technology with extensive experience in instructing, Learn Programming with C: An Easy Step-by Step Self-Practice Book for Learning C is a comprehensive and accessible guide to programming with one of the most popular languages.
Meticulously illustrated with figures and examples, this book is a comprehensive guide to writing, editing, and executing C programs on different operating systems and platforms, as well as how to embed C programs into other applications and how to create one’s own library. A variety of questions and exercises are included in each chapter to test the readers’ knowledge.
Written for the novice C programmer, especially undergraduate and graduate students, this book’s line-by-line explanation of code and succinct writing style makes it an excellent companion for classroom teaching, learning, and programming labs.
Table of Contents
Preface
Chapter 1: Introduction
- History of Programming Language
- Different Types of Programming Language
- Importance of Programming
- C Program Structure
- Step-by-Step Tutorial to Run a C Program
- Keywords
- Identifiers
- Operators
- Operator Precedence in C
- Variables
- Constants
- Escape Sequences
- Data Types
- Type Casting
- Examples
Exercises
- MCQ with Answers
- Questions with Short Answers
- Problems to Practice
Chapter 2: Flow-Control
- if Statement
- if..else Statement
- Nested if..else Statement
- Conditional Operator
- for Loop
- while Loop
- do..while Loop
- continue Statement
- break Statement
- switch..case Statement
- goto Statement
- Examples
Exercises
- MCQ with Answers
- Questions with Short Answers
- Problems to Practice
Chapter 3: Arrays and Pointers
- Arrays
- 2-D arrays
- Multidimensional arrays
- String
- String Function
- Pointers
- Memory Allocation
- Examples
Exercises
- MCQ with Answers
- Questions with Short Answers
- Problems to Practice
Chapter 4: Functions
- Function Types
- Function Structure
- Function Call
- Arrays and Functions
- Pointers and Functions
- Storage Class
- Examples
Exercises
- MCQ with Answers
- Questions with Short Answers
- Problems to Practice
Chapter 5: Structure and Union
- Structure
- Union
- enum
- Data Structure and Algorithm
- Linked List
- Types of Linked List
- Examples
Exercises
- MCQ with Answers
- Questions with Short Answers
- Problems to Practice
Chapter 6: File Management
- File Types
- File Operations
- Preprocessors
- Conditional Compilation
- Examples
Exercises
- MCQ with Answers
- Questions with Short Answers
- Problems to Practice
Chapter 7: C Graphics
- Introduction
- Functions
- Color Table
- Fonts of Text
- Fill Patterns
- Including graphics.h in CodeBlocks
- Examples
Problems to Practice
Chapter 8: C Cross-platform
- Creating Own Library
- Turbo C
- Visual Studio Code
- Visual Studio
- Command Line
- Command Line Arguments
- Linux
- Embedding C Code into MATLAB
- Integrating C Code into Python
- Switching from One Language to Another
- Transition to C++ or C# from C
Chapter 9: C Projects



