CS 3304: Comparative Languages
Data Types
[
Course Documents
] : [
Data Types
]
Previous
Contents
Next
Keyword Index
Pointer Examples
Pascal: used for dynamic storage management only
Explicit dereferencing
Dangling pointers and memory leaks are possible
Ada: a little better than Pascal and Modula-2
Implicit dereferencing
All pointers are initialized to null
Similar dangling pointer and memory leak problems for typical implementations