Download presentation
Presentation is loading. Please wait.
Published byRichard Owen Modified over 8 years ago
1
Presented by Ted Higgins, SQL Server DBA C Programming - Pointers
2
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
3
Pointer - Definition
4
Pointer - Declaration
5
Pointer - Dynamic Memory Allocation
6
Pointer - Memory Segments
7
Pointer - Strings & Arrays
8
Pointer - Compiler Initialization
9
Pointer - Strings: Dynamic Memory Allocation
10
Pointer - Freeing Memory
11
Pointer - Custom Free Function
12
Pointer - Memory Leaks
13
Pointer - Dangling Pointer
14
Pointer - Structures
15
Pointer - Structures (2)
16
Pointer – Misc.
17
Resources
18
Thank You!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.