Vidyalelo
C++ Programming · Q781

C++ miscellaneous

Programming · C++ Programming · question 781

Q781

What will be the output of the following C++ code? #include using namespace std; int main() /* this is comment* cout << "hello world"; return 0;

A.
hello world
B.
hello
C.
compile time error
Answer
D.
hellohello

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board