What is the appropriate guideline to avoid bugs and improve the quality in this code?

后端 未结 0 1380
北荒
北荒 2021-01-23 21:06
#include

using namespace std;

int main() 
{
    int *p  =  new int(5);

    if (p = 0)    
        cout << "No Value" << endl;            


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