Question: I need help on B and C for each bolded word please ! A.4 30 Points - Memory Area 1: Environment - Memory Area 2:

 I need help on B and C for each bolded word

please! A.4 30 Points - Memory Area 1: Environment - Memory Area

I need help on B and C for each bolded word please!

A.4 30 Points - Memory Area 1: Environment - Memory Area 2: Runtime Stack - Memory Area 3: Free-store - Memory Area 4A: Uninitialized Data b. c. In which memory area is this element stored? Why? The lifetime, begin & end, of this element? Why? Laptop, the class Which area: [1] [2][3] Why is that area? [4a] [4b] [5] Memory Area 4B: Initialized Data Memory Area 5: Binary Program #include #include using namespace std; string date = "10-9-2018"; class Laptop public: Laptop) 0 Laptop(string name, string owner"Student) name(name), ownerfowner) 0 string getlnfo0) const void setOwner(const string& owner) f What is its lifetime and why? return this>namethis->owner: this->owner owner; private: static string laptopLine; string owner"N/A" ); string namef "NIA*; string Laptop: laptopLine= "Performance", name of laptop1, when buyLaptop is called Which area: [1] [2][3] 4a] [4b] [5] Why is that area? Laptop buyLaptop(string&& name, string& buyer) static Laptop laptop1(name, buyer); Laptop laptop2 new Laptop; laptop2->setOwnerf"Laptop Owner) laptop2 laptop1; return laptop2; int main0 string laptopBuyer "Mickey Laptop laptop3buyLaptop( Chromebook XL", laptopBuyer) b; Laptop laptop4 new Laptop"Mackbook Air"); Laptop laptop5 laptop3); What is its lifetime and why? coutgetinfo)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!