#include <iostream>
using namespace std;
int main(){
if(0==NULL)cout << "1" << endl;
else cout << "0" << endl;
if('/0'==NULL)cout << "1" << endl;
else cout << "0" << endl;
if('/0'==0)cout << "1" << endl;
else cout << "0" << endl;
getchar();
}
VC++下运行结果都为1
可见在VC++下3者是等价的,具体机理还不清楚。