What is the output of the program?
#include
int main()
{
char str[] = “Hello World ”; cout << str; return 0; }
A. It prints: Hello
B. It prints: World
C. It prints: HW
D. It prints: World World
What is the output of the program?
#include
int main()
{
char str[] = “Hello World ”; cout << str; return 0; }
A. It prints: Hello
B. It prints: World
C. It prints: HW
D. It prints: World World