Explain in detail, the new and delete operators of C++ language. code example
Example: new and delete operator in c++
// Pointer initialized with NULL
// Then request memory for the variable
int *p = NULL;
p = new int;
OR
// Combine declaration of pointer
// and their assignment
int *p = new int;