> 英语 >
英语翻译
The duration of a variable is the period of time during which storage is allocated to the variable.There are two categories of duration:dynamic and fixed.A variable with dynamic duration is created anew each time the block in which it is declared is entered.When the program leaves the block,the variable disappears.Conversely,a variable with fixed duration exists throughout the execution of the entire program.
人气:469 ℃ 时间:2020-05-28 10:18:07
解答
一个变量的生存期是指存储空间被分配给变量的那一段时间.有两种生存期:动态的和固定的.具有动态生存期的变量在它所在的模块里每次被声明的时候所创建的.当程序离开这个模块时,这个变量就消失了.相反的,具有固定生存...
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版