Vidyalelo
C++ Programming · Q18

Pointers and References in C++

Programming · C++ Programming · question 18

Q18

What does the 'new' keyword do in C++?

A.
Declares a new variable
B.
Allocates memory dynamically
Answer
C.
Returns the size of a variable
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board