fl wrote:
#I write:
class array {
int tmp;
int *data;
size_t n;
public:
array(){
data=&tmp;
}
array &array::operator =(const array &rhs);
};
array &array::operator =( array &rhs)
{
delete[] data;
#in b0=a0
#for me, the first run time error
#is here because delete
#want to free &tmp
#and that address seems not be
#one new or malloc return