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
Comparing code coach solutions
3 Votes
Automatation python
1 Votes
General python
1 Votes
Coding
1 Votes
view challenge analytics
2 Votes
header only implementation
1 Votes
Problem with application
0 Votes
how to create a website
0 Votes
How and where to use html?
0 Votes
Generative AI
0 Votes