What is the output of the below program?
void display() {
cout << "Hello, World!";
}
int main()
{
display();
return 0;
}
Hello
World
Hello, World!
Error
This question is part of this quiz :
Quiz on C++ FunctionsC++ Functions Quiz - Question 3