What is a dynamic variable Compare the differences between d
What is a dynamic variable? Compare the differences between dynamic variables, static variables, and automatic variables.
Solution
Dynamic Variables: A Dynamic Variable shows an space in memory that is fixed to hold a certain value. The value of the dynamic variable is dynamic that means the value variables depend on the current user. These variables are used to store temporary values during the execution of a program.
Example:
Differences between Dynamic, Static, and Automatic Variables:
