Wha is int | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Wha is int

13th Feb 2017, 8:20 AM
Suman Roy
Suman Roy - avatar
5 Answers
+ 5
stands for integer, it's a datatype which can save a non-decimal number like 24 ^^
13th Feb 2017, 8:29 AM
Kamil
Kamil - avatar
+ 1
1. int is a datatype which is used to store integer constants. 2. Integer constants consists of decimal integer constants (347, -628, 987648), octal integers (065, 0, 0469), hexadecimal integer (0x5, 0XA4), binary literals (0b1011010, 0b11101) 3. The size of an int variable is 4 bytes 4. The range of an int variable is -2,147,483,648 to 2,147,483,647, that is nothing but -2^32 to (2^32)-1
13th Feb 2017, 2:28 PM
Kommoju Sunil Kumar
Kommoju Sunil Kumar - avatar
0
datatype
13th Feb 2017, 8:20 AM
Varun Moghe
Varun Moghe - avatar
0
and when it's use
13th Feb 2017, 12:16 PM
Suman Roy
Suman Roy - avatar
- 1
int stands for integer. Is is a data type and it's value ranges from -32768 to 32767.
13th Feb 2017, 8:48 AM
Prateek Sharma
Prateek Sharma - avatar