C++ Memory management

Programming
Tutor: None Selected Time limit: 1 Day

hidden

Briefly explain the most serious problem(s) with the memory management in the class below. The response that you give and can either be general or focussed


class string {

public:

string( char const* t ) : s(t) {}

~string() { delete s; }

char const* c_str() const { return s; }

private:

char const* s;

};


Nov 12th, 2013
Please allow me to assist you with the question. Am an expert in the field and I only provide original answers that are on point and plagiarism free. Thank you
Nov 12th, 2013

how much pay you $

Nov 12th, 2013
hidden

Can you able to find the answer

Nov 12th, 2013

i can do this one but my quote is $15 ok i do,nt do this one woth $1

Nov 12th, 2013

please increase price and i will provide answers with 24 hrs or sooner

Nov 12th, 2013
hidden

ok but can you send it in brief within 1 hour


Nov 12th, 2013

i can send answers with in your time frame that is 24 hrs ok so i can not provde wth an hr i will send answers with 24 hrs or sooner

Nov 12th, 2013

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
hidden
...
Nov 12th, 2013
...
Nov 12th, 2013
Dec 9th, 2016
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer