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
Best language?
0 Votes
Bro can you fix yt error?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Java full stack
0 Votes
Duration of heart refilling
0 Votes