Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Dynamic Memory Allocation - Part I

int main() {
// pd points to a dynamically allocated double variable
double *pd = new double;
// free the allocated memory
delete pd;
return 0;
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content