Обсуждения
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 голосов
5 ответовАктуальное сегодня
Started learning python
0 Votes
How can one build an Ai app
2 Votes
Websites for frontend developers
1 Votes
Discrete mathematics (python)
0 Votes
C++, c# , graphical interface
1 Votes
How to learn python
1 Votes
C course progress restart
1 Votes