Why should we use "int" before main in C++? I know It's helps compiler to give output in integer but when We want output in words like "Hello World" what is the use of int because hello world is not integer.
Answers
Answered by
4
Answer:
Int, short for "integer," is a fundamental variable type built into the compiler and used to define numeric variables holding whole numbers. Other data types include float and double. C, C++, C# and many other programming languages recognize int as a data type.
Similar questions