英语翻译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
来源:学生作业帮助网 编辑:六六作业网 时间:2025/01/01 07:03:10
英语翻译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
英语翻译
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.
英语翻译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
一个变量的生存期是指存储空间被分配给变量的那一段时间.有两种生存期:动态的和固定的.具有动态生存期的变量在它所在的模块里每次被声明的时候所创建的.当程序离开这个模块时,这个变量就消失了.相反的,具有固定生存期的变量在整个程序执行的时候都存在.
------------------
亲自翻译的,你应该看得懂.
变量是关联的持续的时间在存储分配到variable.There是两类时间:动态和fixed.A变量就是重新创造的动态区块,每次都是宣称是entered.When程序,那么这个变量的街区,一个变量disappears.Conversely固定时间存在的整个执行整个计划。
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 an...
全部展开
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.
一个变量的存在时间就是指它在内存中占有指定地址的时间。这个存在方式有两类:动态的和静态的。一个动态存在的变量在程序每次进入定义它的段落都会被重新产生(在内存中被指定地址)。当程序离开这个段落,这个变量也随之消失。静态的变量却是反过来的,在程序运行的整个过程中都存在。
收起