Q&A Discussies
When do you hit "compile"?
9 Stemmen
6 AntwoordenJava vs C++ compile speeds
17 Stemmen
11 AntwoordenCompiled Python
8 Stemmen
1 AntwoordWhat is linking in C++.....?
2 Stemmen
1 AntwoordTaking input in runtime terminal
5 Stemmen
1 AntwoordError connection
0 Stemmen
1 AntwoordVirtual functions
1 Stem
2 Antwoordenwhat 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 Stemmen
5 AntwoordenWhy is this Code not working
0 Stemmen
5 AntwoordenC program
0 Stemmen
2 Antwoordengetting error when try to use this code
System.out.printf("my name is %s","Roy");
it's showing like: exception in thread"main" Java.lang.Error: unresolved compilation problem:
the method printf(String,Object[ ]) in the type printstream is not applicable for the arguments (String,int)at tutorial 19.App.main(App.java:11)
0 Stemmen
3 AntwoordenWhy is this code not running ???
0 Stemmen
2 AntwoordenPopulair vandaag
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
Salut tout le monde
1 Votes