Discussions Q&R
Why the output is 20???
11 Votes
11 RéponsesWhy "cout << x" is there ?
2 Votes
3 Réponseswhat 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 Vote
5 Réponsesx=5 x=x<<1 x=?
0 Vote
2 RéponsesAujourd'hui en vedette
Ai generated practices
1 Votes
Where did mess up....
1 Votes
Feedback on my portfolio
0 Votes
Yo this is madness
0 Votes
How can i insert files?
1 Votes
Advertising in Sololearn
0 Votes
Solving coding challenges
0 Votes
Hi who can hel me please
0 Votes