I think the main() function accumulates the whole logic of code so we can directly call it whenever required.
As it reduces the effort of rewriting the whole logic again…
This is what I think.
I think the main() function accumulates the whole logic of code so we can directly call it whenever required.
As it reduces the effort of rewriting the whole logic again…
This is what I think.