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
Audio adding
1 Votes
playground input
0 Votes
What is problem in this code
0 Votes
Software developer
0 Votes
How I can use div
0 Votes
TIPS From Veterans
1 Votes
Html issue
0 Votes