new lien c++
- Use the "new" keyword to allocate memory for a new object or data type in C++.
- Specify the data type of the object or data type being allocated memory.
- Use parentheses to call the constructor, if necessary, for the object being created.
- Assign the memory address returned by the "new" keyword to a pointer of the specified data type.