Are you using WSL 1 or WSL 2? WSL 2 WSL 1 Kernel Version 5.15.90.1 Distro Version ubuntu 22.04 20.04 ,kali,every distro exept powershell Other Software just like#9016 Repro Steps Trying to start the WSL application or any distros Expected Behavior Should be able to start normally Actual Be...
voidtest(int*p){inta=1;p = &a;cout << p <<" "<< *p << endl;}intmain(void){int*p = NULL;test(p);if(p == NULL)cout <<"指针p为NULL"<< endl;return0;}//运行结果为://0x22ff44 1//指针p为NULLvoidtestPTR(int* p){inta=12;p = &a;}voidtestREFF(int& p){inta=12;p ...