Q136
Which of the following C++ code will give error on compilation? ================code 1================= #include using namespace std; int main(int argc, char const *argv[]) cout int main(int argc, char const *argv[]) std::cout<<"Hello World"; return 0; ========================================
A.
Both code 1 and code 2
B.
Code 1 only
C.
Code 2 only
D.
Neither code 1 nor code 2
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board