Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

说一下什么是 悬垂指针?什么是 野指针? #12

Open
tbfungeek opened this issue Jan 5, 2020 · 0 comments
Open

说一下什么是 悬垂指针?什么是 野指针? #12

tbfungeek opened this issue Jan 5, 2020 · 0 comments

Comments

@tbfungeek
Copy link
Owner

tbfungeek commented Jan 5, 2020

悬垂指针
悬垂指针指的是:该指针所指向的某个内存已经释放了,但是这个指针还是指向这个内存。这就是一个 悬垂指针 或者说 迷途指针

野指针
野指针指的是在使用前没有进行初始化的指针。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant