logo

Crowdly

Browser

Add to Chrome

Якщо в конструкторі класу class A { public: A () {ptr = new char [size]...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Якщо в конструкторі класу

class A {

public:

A () {ptr = new char [size];

Init (); }

~ A () {if (ptr) delete [] ptr; }

char * ptr; };

відбудеться виняткова ситуація, чи буде втрачена пам'ять при відкат по стеку?

(C++)

More questions like this

Want instant access to all verified answers on moodle.chnu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome