Q167
What will be the output of the following C++ code? #include #include #include using namespace std; int main() string s = "Hello World"; any var(s); cout (var)<<endl; return 0;
A.
Run-time error
B.
Compile-time error
C.
Hello World
D.
Nothing is printed
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board