const

[美]/kɒnst/
[英]/kɑːnst/

释义

abbr.常量
keyword声明只读变量(*注意是变量*)
词形变化
复数consts

短语搭配

constant speed

恒定速度

constant force

恒力

constant value

常数值

const rain

持续降雨

const pressure

恒压

const temperature

恒温

const reminder

常提醒

const effort

持续努力

const motion

匀速运动

const current

恒流

例句

the constant value of pi is approximately 3.14.

圆周率的常数值约为3.14。

we used a const variable to store the maximum number of iterations.

我们使用const变量来存储最大迭代次数。

the speed of light is a physical constant.

光速是一个物理常数。

define a const integer for the array size.

定义一个const整数来表示数组的大小。

the gravitational constant remains relatively stable.

引力常数相对稳定。

using const improves code readability and maintainability.

使用const可以提高代码的可读性和可维护性。

declare a const pointer to prevent accidental modification.

声明一个const指针以防止意外修改。

the program uses a const variable for the buffer size.

程序使用const变量来表示缓冲区的大小。

initialize the const variable with a fixed value.

用固定值初始化const变量。

the constant temperature was recorded at 25 degrees celsius.

恒定的温度记录为25摄氏度。

a const reference avoids unintended side effects.

const引用可以避免意想不到的副作用。

下载 App 解锁完整内容

想更高效学习单词?下载DictoGo App,享受更多词汇记忆与复习功能!

立即下载 DictoGo