What is void main()
void main() is the deprecated version of int main(). This is the entrance of your program when it begins to run.
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
it is a function in c++