What happens we create a nullptr and use it in a IF condition in C++

前端 未结 0 839
独厮守ぢ
独厮守ぢ 2021-02-05 13:01

Hi i am trying to see what happens when i create a nullptr in C++ and use it in a if statement. For example, my code is as following: int *p=nullptr; if(p){cout<<&qu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题