0
Dynamic arrays
What are dynamic arrays , dynamic variables?
2 Réponses
+ 4
Dynamic arrays and variables are created and are destroyed with the help of explicit operators. You explicitly specify how much memory to allocate for the object. For example, you should use operation "new" or function "malloc()" to create dynamic objects in c++ (to destroy dynamic objects you should use "delete" or "free()").
0
So you’re saying that the variables that we create in heap in which we dynamically allocate memory to the variable using “new” operator are called dynamic variables