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
Sarang
2 Votes
Buggy app today
1 Votes
??
1 Votes
Programming
0 Votes
Code coach isn't awarding xp
0 Votes
Help me
1 Votes