Presented by Ted Higgins, SQL Server DBA C Programming - Pointers
This presentation will define and illustrate the power of pointers using the C programming language. Definition: I’ll demonstrate how pointers are created, initialized and used in a program. Dynamic Memory Allocation: I’ll demonstrate this technique in a C program. Power to the Pointer: I’ll describe and illustrate some simple data structures where pointers are key functional components. Finally I’ll describe and illustrate how memory leaks are generated and the code that creates these sometimes hard-to-find bugs. Introduction
Pointer - Definition
Pointer - Declaration
Pointer - Dynamic Memory Allocation
Pointer - Memory Segments
Pointer - Strings & Arrays
Pointer - Compiler Initialization
Pointer - Strings: Dynamic Memory Allocation
Pointer - Freeing Memory
Pointer - Custom Free Function
Pointer - Memory Leaks
Pointer - Dangling Pointer
Pointer - Structures
Pointer - Structures (2)
Pointer – Misc.
Resources
Thank You!