Why do you use the namespace feature?


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

Post New Answer

More C++ General Interview Questions

this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include<iostream.h> int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout<<x<<":"<<y; x=x+y; y=x-y; x=x-y; *a=x; *b=y; cout<<x<<":"<<y; cout<<&a<<endl; cout<<&b<<endl; }

1 Answers  


What is the sequence of destruction of local objects?

0 Answers  


Where is atoi defined?

0 Answers  


What is a virtual destructor?

2 Answers  


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

0 Answers  






Which is not a valid keyword a) public b) protected c) guarded

0 Answers  


Write a C++ Program to Generate Random Numbers between 0 and 100

1 Answers  


What is the full form of c++?

0 Answers  


How do you establish an is-a relationship?

0 Answers  


Can a program run without main function?

0 Answers  


Differentiate between a constructor and a method in C++.

0 Answers   Tech Mahindra,


Is dev c++ a good compiler?

0 Answers  


Categories