Question: could you do this ASAP . Dynamic Variables A pointer can be used to refer to a variable. Your program can manipulate variables even if
could you do this ASAP


. Dynamic Variables A pointer can be used to refer to a variable. Your program can manipulate variables even if the variables have no identifiers to name them. You can use pointers refer to these nameless variables. The new operator produces a new nameless variable and returns a pointer that points to this new variable. This type of variable is called a dynamic variable. Dynamic variables are stored in a special area called the freestore of the heap. Any new dynamic variable created by a program consumes some of the memory in the freestore. If your program creates too many dynamic variables, it will consume all of the memory in the freestore. If this happens, any additional calls to new will fail
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
