검색
Integer constant
01
정수 상수, 고정된 정수 값
a fixed numerical value that is a whole number, either positive, negative, or zero
integer constant
n
예
In the expression 2x+5, the integer constant is 5.
Integer constants are used in mathematical expressions to represent fixed numerical values.
The formula calculates the area of a square by multiplying the length of its side by itself, without needing an integer constant.
The algorithm iterates over an array and updates each element by adding an integer constant to it.
When defining a variable in programming, you can initialize it with an integer constant like 10 or −3.