Q702
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.
Hello World
B.
Compile-time error
C.
Run-time error
AnswerD.
Nothing is printed
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board