Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 21. Memory Access > Review Questions

21.11. Review Questions

1.What is defined in the following statement?
int* p, q;

2.What is a memory leak? How does it happen?
3.Compare the way that +, -, ++, and -- operators work on pointers with the way that they work on int or double.
4.What happens if delete is applied to a pointer that has just been deleted?
5.When an array is passed to a function as a parameter, what is copied onto the stack?
6.What is dynamic memory? How do you obtain it in C++?


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial