Q&A Discussões
Why the output is 20???
11 Votos
11 Respostaswhat 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 Voto
5 Respostasx=5 x=x<<1 x=?
0 Voto
2 RespostasQuente hoje
HTML
3 Votes
Functions in python
2 Votes
Answer please
0 Votes
For Mobile app
0 Votes
I need advice
0 Votes
I need advice
0 Votes
Html 5 document question
1 Votes
Paint costs
1 Votes