MCQs > IT & Programming > C++ > Which of the following is a reason why using this line is considered a bad practice? (Alternative: Why is using this line considered a bad practice?) Using namespace std;

C++ MCQs

Which of the following is a reason why using this line is considered a bad practice? (Alternative: Why is using this line considered a bad practice?) Using namespace std;

Answer

Correct Answer: If the code uses a function defined in two different libraries with the same prototype but possibly with different implementations, there will be a compilation error due to ambiguity.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C++ Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C++ Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it