`main()` is basically a function. In c language, if you don' t use return type (`main()` instead of `int main()`) the compiler will automatically put an `int` by default before the function name.
So, `main()` becomes `int main()`.
In this case, the best practice is to return an `int` type data.
`main()` is basically a function. In c language, if you don' t use return type (`main()` instead of `int main()`) the compiler will automatically put an `int` by default before the function name.
So, `main()` becomes `int main()`.
In this case, the best practice is to return an `int` type data.