Question: 1. Show how dangling pointers can be used to break the type system. 2. Study the Ada 95 definition of accessibility and show how the
1. Show how dangling pointers can be used to break the type system.
2. Study the Ada 95 definition of accessibility and show how the rules prevent dangling pointers.
3. Write a program that uses a dynamic data structure such as a linked list. Modify the program to use a cache of nodes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
