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
Using Python on VScode
2 Votes
Python Developer
0 Votes
Wayss
0 Votes
fully dynamic arrays
1 Votes
Guys who tell me
0 Votes
Hearts
0 Votes
Question
0 Votes