Question: A.2-25 Points -Memory Area 1: Environment 436 437 438 439 440 441 Memory Area 2: Runtime Stack -Memory Area 3: Free-store -Memory Area 4A: Uninitialized
A.2-25 Points -Memory Area 1: Environment 436 437 438 439 440 441 Memory Area 2: Runtime Stack -Memory Area 3: Free-store -Memory Area 4A: Uninitialized Data -Memory Area 48: Initialized Data 442 Memory Area 5: Binary Program using namespace std; static int sCode; class Stu ( 445 450 451 452 453 454 public Stu0 0: static int stuCode; string namef "Student 455 456 457 int Stu::stuCode- 37; Stu func(string str) ( unique ptreStu> stu uPtr make unique Stu> static Stu student; Stu anotherStudent; return &student; auto whereLambda0( int toBeGone 10 int to Stay-37; auto lambdaPtr [toStay, &toBeGone)o return toBeGone+toStay; return lambdaPtr; int maino Stu stuPtr funcCS") string studentName( stuPtr-oname ) sCode Stu::stuCode; auto lambdaPtrM( whereLambda0 ) cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
