c++ 面试问题准备 指针

2017-04-05  本文已影响33人  HenryTien

pointers

What is a dangling pointer?
What is Memory Leak?
What is auto pointer?
What issue do auto_ptr objects address?
What is a smart pointer?
Is there any problem with the following : char*a=NULL; char& p = *a;?
What is the difference between a pointer and a reference?
What is the difference between const char *myPointer and char *const myPointer?
When should I use references, and when should I use pointers?

上一篇 下一篇

猜你喜欢

热点阅读