a c++ question# Programming - 葵花宝典
t*i
1 楼
Class pointer {
....
...
}
Class screen {
...
..
pointer* mp;
}
function()
{
screen* ps = new screen();
screen ps2= *ps;
....
...
delete ps;
}
when function run, the program will crash. Give the reason.
....
...
}
Class screen {
...
..
pointer* mp;
}
function()
{
screen* ps = new screen();
screen ps2= *ps;
....
...
delete ps;
}
when function run, the program will crash. Give the reason.