0

What is the use of"int" and what do it means in c++

4th May 2017, 4:23 PM
jatin gakhar
jatin gakhar - avatar
4 Réponses
+ 4
when you use "int" in declaring any variable it means that the value of this variable will be an integer number that means number without (,) EX: 1-2-3-4-5....etc
4th May 2017, 4:45 PM
Michael Ehab Mikhail
Michael Ehab Mikhail - avatar
+ 1
"int " is used to declare the data type integer of the variable.so the compiler can understand what type of data stored under the variable
9th May 2017, 9:38 AM
Ajith Kumar.S
Ajith Kumar.S - avatar
0
Define a variable of integer type. e.g. I wanna define the variable: fingers. How to define? int fingers = 5;
5th May 2017, 12:32 AM
Sammi
Sammi - avatar
0
int stands for integer. Integer is a data type. when you define an integer, you are telling the compiler you are going to use a value which will be a whole number, and it will allocate the memory space for that what is integer: any whole number (Ex:0,+5,10, -17,-200) what is not an integer: fractional or decimal component(Ex: 5/2.1.1117,6.78)
15th May 2017, 10:06 PM
siddharth
siddharth - avatar