Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

closed What is the meaning of "int" ?

+9 votes
asked Dec 10, 2022 by Devi Prasad (210 points)
closed Dec 23, 2022 by Admin
What is the meaning of "int" ?
closed with the note: answered

8 Answers

+5 votes
answered Dec 10, 2022 by Peter Minarik (86,580 points)

Int is short for integer. It is a number type that has no fraction part, so it can take values such as, [..., -2, -1, 0, 1, 2, ...].

+1 vote
answered Dec 11, 2022 by Mayuresh kumar (220 points)
int is basically a data type used to declare integer variable.in simple words a variable which holds integer value.
0 votes
answered Dec 11, 2022 by Kaloyan Krushkov (170 points)
A number, for Example:

number =int(input("Enter Number: "))

Answer:

Enter Number: 10

That Works

Error Answer:

Enter Number [Words/Numbers In Letters.]
0 votes
answered Dec 12, 2022 by Alexander Margolen (160 points)
If you mean in languages like C it's means initializing integer value a.k.a. the numbers without dot. Like -50 or 0 or 1 or 39 or 30123.

Basically int a; means that system shall reserve memory for the integer value and using of this value will means actually using that part of the memory (normally it's either 2bytes or 4bytes with 4bytes being more common nowadays).
0 votes
answered Dec 15, 2022 by CHAKALI VENKATESWARLU (180 points)

int is a datatype which accepts integer values

An integer  is a whole number (not a fractional number) that can be positive, negative, or zero. Examples of integers are: -5, 1, 5, 8, 97, and 3,043. Examples of numbers that are not integers are: -1.43, 1 3/4, 3.14, . 09, and 5,643.1.

0 votes
answered Dec 21, 2022 by Ericsson Lin (600 points)
In C++, the int datatype is a chunk of memory 4 bytes wide, that is, 32 bits of storage. Unless otherwise declared (using the "unsigned" keyword), int's can store numbers from -2,147,483,648 to 2,147,483,647.

(Int stands for integer, the set of positive whole numbers, their opposites, and zero)

Hope this helped!
0 votes
answered Dec 22, 2022 by Amit Yadav (150 points)

INT is a data type. Who can store only integer types of value .it can positive and negative.

EX:.(.....-2,-1,0,1,2,3,..........................)

0 votes
answered Dec 22, 2022 by Apurva Maholiya (180 points)
In maths, it is integer which are negative and positive value ,not in fraction form....

in c language it is a data type represented by %d to input a no. in interger form
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...