What does int mean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does int mean?

int main ()

14th Jan 2018, 7:10 PM
Timothy Norman Johnson
Timothy Norman Johnson - avatar
5 Answers
+ 1
Integer
14th Jan 2018, 7:25 PM
Someone Else
Someone Else - avatar
+ 1
so why is it necessary?
14th Jan 2018, 7:27 PM
Timothy Norman Johnson
Timothy Norman Johnson - avatar
+ 1
int main() defines a function called main that takes no arguments, and returns an integer.
14th Jan 2018, 7:27 PM
LunarCoffee
LunarCoffee - avatar
+ 1
thank you for your help.
14th Jan 2018, 7:28 PM
Timothy Norman Johnson
Timothy Norman Johnson - avatar
0
In c++ it means the main class
14th Jan 2018, 7:26 PM
Someone Else
Someone Else - avatar