Обсуждения
what is "main" really
4 голосов
6 ответовException in thread "main"
1 голос
4 ответовFound it is actually "main"
0 голосов
3 ответов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 ответовАктуальное сегодня
AI video creation
3 Votes
How to make a game code
1 Votes
How to add image and audio
1 Votes
About create tuples [Solved]
0 Votes
What is HelloWorld
1 Votes
Headless CMS
1 Votes
Missing]
0 Votes
Can anyone fix for me this code
1 Votes
Lets learn together
0 Votes
HTML
0 Votes