P

Priyanka Tomar • 35.28K Points
Coach

Q. Which of the following is the correct syntax to include a C++ library?

  • (A) #include <iostream>
  • (B) import <iostream>
  • (C) include <iostream>
  • (D) use <iostream>
  • Correct Answer - Option(A)
  • Views: 151
  • Filed under category C++

Explanation by: Priyanka Tomar
In C++, the '#include' directive is used to include libraries.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics