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 應用程式,享受更多單字記憶與複習功能!

立即下載 DictoGo