0
What is void main()
4 Answers
+ 19
void main() is the deprecated version of int main(). This is the entrance of your program when it begins to run.
+ 2
void main () is the older version of c++ starting, it returned void, that's why it's called as a void.
Newer cpp versions use int main ()
it's the function the program runs at first
0
it is a function in c++