What is integer. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is integer.

I am beginner of c++

10th Mar 2018, 6:06 AM
Harsh Kumar
Harsh Kumar - avatar
3 Answers
+ 12
integer is a datatype for storing integer values //example ::: for storing values like 1,9,32,0,-8 etc https://www.sololearn.com/learn/CPlusPlus/1606/
10th Mar 2018, 7:21 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 5
An integer is a number that does not have any decimals example 9 is an integer 9.12 is not
10th Mar 2018, 6:33 AM
Louis
Louis - avatar
+ 4
Int is short for "integer." Int is a fundamental variable type built into the compiler and used to define numeric variables holding whole numbers. C, C++, C# and many other programming languages recognize int as a type. Other data types include float and double.
10th Mar 2018, 6:09 AM
Scooby
Scooby - avatar