¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuitaSesiones de PyR
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 Votos
5 RespuestasEn tendencia hoy
3 consecutive words
1 Votes
c++ help
1 Votes
Code optimization | C++
0 Votes
C++ students' scores program
0 Votes
Help pls/ python
0 Votes
Deploy Website
0 Votes
Projects not Working
2 Votes
React course
0 Votes