const

[US]/kɒnst/
[UK]/kɑːnst/

Translation

abbr. ค่าคงที่
keywordประกาศตัวแปรที่อ่านอย่างเดียวไม่ได้
Word Forms
Pluralconsts

Phrases & Collocations

constant speed

ความเร็วคงที่

constant force

แรงคงที่

constant value

ค่าคงที่

const rain

ฝนตกอย่างต่อเนื่อง

const pressure

ความดันคงที่

const temperature

อุณหภูมิคงที่

const reminder

การแจ้งเตือนคงที่

const effort

ความพยายามคงที่

const motion

การเคลื่อนที่คงที่

const current

กระแสคงที่

Example Sentences

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.

กำหนดค่าคงที่จำนวนเต็มสำหรับขนาดของอาร์เรย์

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 reference ช่วยหลีกเลี่ยงผลข้างเคียงที่ไม่ตั้งใจ

Popular Words

Explore frequently searched vocabulary

Download App to Unlock Full Content

Want to learn vocabulary more efficiently? Download the DictoGo app and enjoy more vocabulary memorization and review features!

Download DictoGo Now