View Categories

C Intermediate

12 Chapters

Arrays

Last Updated: December 2, 2025

An array is a fixed-size, sequential collection of elements of the same data type, stored in contiguous (adjacent) memory locations....

Introduction to Pointers

Last Updated: December 2, 2025

A pointer is a special type of variable that stores the memory address of another variable. Understanding pointers is essential...

Pointers and Arrays

Last Updated: December 2, 2025

In C, the names of arrays are deeply intertwined with pointers. In most contexts, an array name is treated as...

Pointers in Functions

Last Updated: December 2, 2025

When calling a function, C determines whether the function works on a copy of the argument’s data or directly on...

Strings

Last Updated: December 2, 2025

In C, a string is not a built-in data type like int or float. It is implemented as a one-dimensional...

String Functions

Last Updated: December 2, 2025

The standard C library provides the <string.h> header file, which contains essential functions for performing operations on null-terminated character arrays...

Dynamic Memory Allocation

Last Updated: December 2, 2025

In C, memory is typically allocated in two primary areas: Dynamic Memory Allocation refers to managing memory from the heap....

Pointers to Pointers

Last Updated: December 2, 2025

A pointer to a pointer (or a double pointer) is a variable that stores the memory address of another pointer...

Structures (struct)

Last Updated: December 2, 2025

A structure is a user-defined data type that allows you to combine data items of different types under a single...

Pointers to Structures

Last Updated: December 2, 2025

Just like with primitive data types (int, float), you can declare and use pointers to structures. Pointers to structures are...

Unions and Enums

Last Updated: December 2, 2025

1. Unions (union) A union is a user-defined data type similar to a structure, but with a critical difference in...

Typedef

Last Updated: December 2, 2025

The typedef keyword (short for type definition) in C does not create a new data type. Instead, it creates an...

Scroll to Top