What Is a Dynamic Variable?
Dynamic variables are created during the execution of the program, and the storage space is dynamically allocated with the call of the function, and the occupied storage space is released after the call is completed.