Why is "using namespace std;" considered bad practice?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

0 Answers  


To what does “event-driven” refer?

0 Answers  


What do you mean by early binding?

0 Answers  


Write is a binary search tree? Write an algo and tell complexity?

0 Answers   Axtria,


Implement stack operations with pointers with appropriate exception checks.

0 Answers   Huawei,






By using c++ with an example describe linked list?

0 Answers  


Explain the difference between c++ and java.

0 Answers  


Do inline functions improve performance?

0 Answers  


How many keywords are used in c++?

0 Answers  


Why use of template is better than a base class?

0 Answers  


Where is atoi defined?

0 Answers  


Can I run c program in turbo c++?

0 Answers  


Categories