Q&A Discussions
Why the output is 20???
11 Votes
11 AnswersWhy "cout << x" is there ?
2 Votes
3 Answerswhat 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 Votes
5 Answersx=5 x=x<<1 x=?
0 Votes
2 AnswersWhat does >> and << do in c
0 Votes
3 AnswersHot today
Time up code for data revision
0 Votes
Best Python Calculator Code
1 Votes
Animation
2 Votes
New code
1 Votes
Clean Code
2 Votes
PHP
1 Votes