17:59 Mar 4, 2021 |
English to Chinese translations [PRO] Tech/Engineering - Computers (general) | |||||
---|---|---|---|---|---|
|
| ||||
| Selected response from: Kiet Bach United States Local time: 00:13 | ||||
Grading comment
|
Summary of answers provided | ||||
---|---|---|---|---|
5 +1 | 存储类别说明符 / 存储类说明符 |
| ||
5 | 存储类别限定符 |
|
存储类别说明符 / 存储类说明符 Explanation: 静态变量中的静态 static 是一种存储类别说明符,其和变量的作用域共同控制变量中两个独立的属性: Storage Duration 和 Linkage(不确定怎么翻译)。 https://sf-zhou.github.io/programming/cpp_static_and_singlet... 存储类说明符出现在声明中。最多可以使用一个说明符,除了_Thread_local可以结合static或extern调整结合(自C11以来)。存储类说明符确定它们声明的名称的两个独立属性:存储持续时间和链接。 https://cloud.tencent.com/developer/section/1009067 |
| |
Grading comment
| ||
Login to enter a peer comment (or grade) |
存储类别限定符 Explanation: 中文资料中没有直接翻译,但是综合现有翻译,可得知存储类别限定符,符合使用习惯。 C语言中,存储类别(Storage Class)是一个标识符(也就是说函数和变量)的重要属性。存储类别决定着一个函数或变量的作用域(Scope,即可见性)和生命周期(Life time)。 C语言有几个类型限定符(type specifier),如C90中的const和volatile,C99中的restrict,C11中的_Atomic。 此外,摘取该概念的一段简要解释,供您参考:Storage class specifiers in C language tells the compiler where to store a variable, how to store the variable, what is the initial value of the variable and life time of the variable. Reference: http://blog.csdn.net/xia7139/article/details/13324281 |
| |
Login to enter a peer comment (or grade) |
Login or register (free and only takes a few minutes) to participate in this question.
You will also have access to many other tools and opportunities designed for those who have language-related jobs (or are passionate about them). Participation is free and the site has a strict confidentiality policy.