Answers for "create dynamic variable c++"

C++
7

c++ delet from memory

// Delete pointer
int* ptr1 = new int;
delete ptr1;

// Delete array
int* array = new int[10];
delete[] array;
Posted by: Guest on March-09-2020
0

create dynamic variable c++

cout<<"Dinmuhammad";
Posted by: Guest on June-18-2021

Browse Popular Code Answers by Language