Why do we use sometimes int main instead of void main,wat is th significnt of thm?
If we use int main then we have return something so we write return 0;at the end
But if we use void then we do not write so
According to me,
If we put void main () in a program then it will return nothing but if we want to return some integer value we put int main() instead of void main()