Question: What is the difference between the memory associated with a1 and a2 in the code fragment below: int myFunc(int aval) { int al [5];

What is the difference between the memory associated with a1 and a2 in the code fragment below: int myFunc(int aval) { int al [5]; int *a2; a2 new int [5]; // Deleted lines of code // return a1[0]; }
Step by Step Solution
There are 3 Steps involved in it
In the given code fragment there are two variables related to memory a1 and a2 Lets examine the diff... View full answer
Get step-by-step solutions from verified subject matter experts
