登入選單
返回Google圖書搜尋
Learn C Programming in 24 Hours
註釋

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 –

Table Of Content

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'?

How 'C' Works?

Chapter 2: How to Download & Install GCC Compiler for C in Windows, Linux, Mac

Install C on Windows

Install C in Linux

Install C on MAC

Chapter 3: C Hello World! Example: Your First Program

Chapter 4: How to write Comments in C Programming

What Is Comment In C Language?

Example Single Line Comment

Example Multi Line Comment

Why do you need comments?

Chapter 5: C Tokens, Keywords, Identifiers, Constants, Variables, Data Types

What is a Character set?

Token

Keywords and Identifiers

What is a Variable?

Data types

Integer data type

Floating point data type

Constants

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

Nested If-else Statements

Nested Else-if statements

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

Continue Statement

Which loop to Select?

Chapter 8: Switch Case Statement in C Programming with Example

What is a Switch Statement?

Syntax

Flow Chart Diagram of Switch Case

Example

Nested Switch

Why do we need a Switch case?

Rules for switch statement:

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

Converting a String to a Number

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

Static Variables

Recursive Functions

Inline Functions

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

Pointers and Strings

Advantages of Pointers

Disadvantages of Pointers

Chapter 14: Functions Pointers in C Programming with Examples

Chapter 15: C Bitwise Operators: AND, OR, XOR, Shift & Complement (with Example)

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

The calloc Function

calloc vs. malloc: Key Differences

The realloc Function

Dynamic Arrays

Chapter 17: TypeCasting in C: Implicit, Explicit with Example

What is Typecasting in C?

Implicit type casting

Explicit type casting