NULL是什么

在c++中NULL被定义为0

在c中NULL被定义为(void *)类型的0,也就是说指向0地址的指针

猜你喜欢

转载自blog.csdn.net/weixin_40728015/article/details/79194598