Question: c++ Given the following code: int *x = new int; * (a) new returns an int (b) new returns the address of space for an
c++
Given the following code: int *x = new int; *
(a) new returns an int
(b) new returns the address of space for an int on the stack
(c) new returns the address of space set aside on the heap for an int
(d) Only 2 of the above
(e) all of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
