Is there a difference between declaring an 'int' and declaring an 'integer'? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there a difference between declaring an 'int' and declaring an 'integer'?

11th Aug 2016, 2:14 PM
George Kyriakou
George Kyriakou - avatar
3 Answers
+ 3
There is no standard keyword "integer". Keyword "int" stands for integer; whole numbers only. They are the same thing ☺
11th Aug 2016, 2:23 PM
Cohen Creber
Cohen Creber - avatar
+ 1
ok, got it. thank you! :)
12th Aug 2016, 5:50 AM
George Kyriakou
George Kyriakou - avatar
+ 1
it's same thing but we use int because it is short of integer
12th Aug 2016, 8:51 AM
raees