C Intermediate
Arrays
Last Updated: December 2, 2025An 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, 2025A 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, 2025In 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, 2025When 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, 2025In 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, 2025The 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, 2025In 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, 2025A 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, 2025A 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, 2025Just 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, 20251. 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, 2025The typedef keyword (short for type definition) in C does not create a new data type. Instead, it creates an...
