+ 2

What is the difference between: main() .and: int main()

C++ I need help pls

15th Nov 2019, 9:54 AM
Kellouche Dhiya
Kellouche Dhiya - avatar
2 Answers
+ 4
Read on datatypes of return values
15th Nov 2019, 10:38 AM
Da2
Da2 - avatar
+ 4
In cpp main always returns int.... So if u write main () or int main () it's same no difference
15th Nov 2019, 10:44 AM
Saurabh B
Saurabh B - avatar