MCQs>IT & Programming>C++ MCQs>When placed in a valid execution context, which statement will dynamically allocate memory from the heap for an integer of value 11?
C++ MCQs
When placed in a valid execution context, which statement will dynamically allocate memory from the heap for an integer of value 11?
Answer
Correct Answer: Int* anInt = new int(11);
Explanation:
Note: This Question is unanswered, help us to find answer for this one