Dyskusje Q&A
Why the output is 20???
11 głosów
11 odpowiedziWhy "cout << x" is there ?
2 głosów
3 odpowiedziwhat 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 głosów
5 odpowiedzix=5 x=x<<1 x=?
0 głosów
2 odpowiedziWhat does >> and << do in c
0 głosów
3 odpowiedziPopularne dzisiaj
Question
2 Votes
Wayss
0 Votes
I dont now that how to do js
2 Votes
fully dynamic arrays
1 Votes
overloading operators << >>
1 Votes
Wishkit alternative for android
1 Votes
How to start in web dev?
0 Votes
Hi
0 Votes