Question: When placed in a valid execution context, which statement will dynamically allocate memory from the heap for an integer of value 11?
- `int anInt = new int(11);`
- `int* anInt = new int[11];`
- `int anInt = new int[11];`
- `int* anInt = new int(11);`
Answer: The correct answer of the above question is Option D:`int* anInt = new int(11);`