0
How can void b used insted of int
i want to use void instead of int main how can i use
2 Answers
+ 3
But why you want main procedure to use void? I'm confused (??) C++ standard had defined the main procedure to use int as return type, why need to change?
+ 1
#include <iostream>
int main()
{
cout<<"hello ";
return 0;
}
how i can use void in this