C is a general-purpose programming language that is extremely popular, simple and flexible. It is machine-independent, structured programming language which is used extensively in various applications. This ebook course teaches you basic to advance level concept of C Programming to make you pro in C language.
Here is what is covered in the book –
Chapter 1: What is C Programming Language? Basics, Introduction and History
- What is C programming?
- History of C language
- Where is C used? Key Applications
- Why learn ‘C’?
Chapter 2: How to Download & Install GCC Compiler for C in Windows, Linux, Mac
Chapter 3: C Hello World! Example: Your First Program
Chapter 4: How to write Comments in C Programming
Chapter 5: C Tokens, Keywords, Identifiers, Constants, Variables, Data Types
- What is a Character set?
- Keywords and Identifiers
- What is a Variable?
- Data types
Chapter 6: C Conditional Statement: IF, IF Else and Nested IF Else with Example
- What is a Conditional Statement?
- If statement
- Relational Operators
- The If-Else statement
- Conditional Expressions
Chapter 7: C Loops: For, While, Do While, Break, Continue with Example
- What are Loops?
- Types of Loops
- While Loop
- Do-While loop
- For loop
- Break Statement
Chapter 8: Switch Case Statement in C Programming with Example
- What is a Switch Statement?
- Flow Chart Diagram of Switch Case
- Nested Switch
- Why do we need a Switch case?
Chapter 9: C Strings: Declare, Initialize, Read, Print with Example
- What is a String?
- Declare and initialize a String
- String Input: Read a String
- String Output: Print/Display a String
- The string library
Chapter 10: Storage Classes in C: auto, extern, static, register with Example
- What is a Storage Class?
- Auto storage class
- Extern storage class
- Static storage class
- Register storage class
Chapter 11: C Files I/O: Create, Open, Read, Write and Close a File
- How to Create a File
- How to Close a file
- Writing to a File
- Reading data from a File
- Interactive File Read and Write with getc and putc
Chapter 12: Functions in C Programming with Examples: Recursive, Inline
- What is a Function?
- Library Vs. User-defined Functions
- Function Declaration
- Function Definition
- Function call
- Function Arguments
- Variable Scope
Chapter 13: Pointers in C Programming with Examples
- What is a Pointer?
- How does Pointer Work?
- Types of a pointer
- Direct and Indirect Access Pointers
- Pointers Arithmetic
- Pointers and Arrays
Chapter 14: Functions Pointers in C Programming with Examples
Chapter 15: C Bitwise Operators
- What are Bitwise Operators?
- Bitwise AND
- Bitwise OR
- Bitwise Exclusive OR
- Bitwise shift operators
- Bitwise complement operator
Chapter 16: C Dynamic Memory Allocation using malloc(), calloc(), realloc(), free()
- How Memory Management in C works?
- Dynamic memory allocation
- The malloc Function
- The free Function
Chapter 17: TypeCasting in C: Implicit, Explicit with Example
- What is Typecasting in C?
- Implicit type casting
- Explicit type casting