Discussions Q&R
what 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 Vote
5 RéponsesAujourd'hui en vedette
HELP ME LEARN
1 Votes
Please tell me about methods
1 Votes
How do i learn php in here?
1 Votes
Hi everyone I hope youâre well
0 Votes
Running of python or js script (backend) and entering of html page by clicking SUBMIT button
2 Votes
Inserting Images
1 Votes