Pointer
A pointer is a variable that stores a memory address rather than a value directly, allowing a program to reference and manipulate data indirectly through that address.
6 resources across 3 libraries
Glossary Terms(2)
Memory Leak
A memory leak is a defect in which a program allocates memory during execution but fails to release it after it is no longer needed, causing available memory t…
Pointer
A pointer is a variable that stores a memory address rather than a value directly, allowing a program to reference and manipulate data indirectly through that…
Study Notes(3)
Pointers and Indirection
How addresses, dereferencing, pointer arithmetic, LEA, and multiple levels of indirection work at the machine level in x86-64 assembly.
Pointer Arithmetic in C++
Understand how adding or subtracting integers from a pointer moves it by whole elements, scaled by the size of the pointee type.
Pointer to Pointer in C++
Learn how a pointer can itself store the address of another pointer, requiring double dereferencing to reach the underlying value.