F&A Diskussionen
what is "main" really
4 Stimmen
6 AntwortenException in thread "main"
1 Stimme
4 AntwortenFound it is actually "main"
0 Stimmen
3 Antwortenwhat will be output??
#include <iostream>
using namespace std;
int main(int a)
{
cout << a << "\n";
return 0;
}
int main(char *a)
{
cout << a << endl;
return 0;
}
int main(int a, int b)
{
cout << a << " " << b;
return 0;
}
int main()
{
main(3);
main("Subodh");
main(9, 6);
return 0;
}
if output is compilation compilation error then how can we overload "main" function in C++
0 Stimmen
5 AntwortenHeute heiß
What is problem in this code
0 Votes
playground input
0 Votes
Activities on sololearn
0 Votes
Software developer
0 Votes
How I can use div
0 Votes
Html issue
0 Votes
TIPS From Veterans
1 Votes
Playground input
0 Votes