Skip to main content
int

int

5 7.2
A computer number type used to store whole numbers
  • noun
  • /ɪnt/
  • Specialized
translation icon : entero
  • And you can double them up with const int * const, which is a const pointer to a const int.
  • def int

So an example of this in Swift is the int and float and also ray and string things like this.

Autoplay Next

Examples

  • You could think of a list as being int value pairs.

  • And then we can say this N equals new int X.

  • In Java, all variables are either reference types or primitive types (int, char, float, etc.).

    Blog text (28)
  • Hi all, I passed an array of integers: int myarr10; into a function like this: int *function(int *array, ...

    Blog text (15)
  • In programming, you can declare a variable as int to store whole numbers like age or count.

  • The function requires an int parameter to specify the number of iterations needed.

  • To optimize performance, it's important to use int for variables that only need to hold whole numbers.

Synonyms

integer
vsint
  • Specialized
15 3.3

A whole number with no fractions, including zero and negative numbers

is the programming data type for whole numbers without decimal points

Surface Forms

int singular
ints plural

Etymology

In programming, int is short for integer, which means 'whole number', so an int is the simple type used to store numbers without decimal points, for example to count people or items.