New course! Every coder should learn Generative AI!
Try a free lessonQ&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
How do I start c#
1 Votes
Why doesn't this work?
1 Votes
Html img
2 Votes
Popsicles
0 Votes
Challenge accepted
2 Votes