What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
/* this is comment*
cout << "hello world";
return 0;
}
#include <iostream>
using namespace std;
int main()
{
/* this is comment*
cout << "hello world";
return 0;
}A. hello world
B. hello
C. compile time error
D. hellohello
Answer: Option C

Join The Discussion