Why do you use the namespace feature?
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; }
What is the sequence of destruction of local objects?
Where is atoi defined?
What is a virtual destructor?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
Which is not a valid keyword a) public b) protected c) guarded
Write a C++ Program to Generate Random Numbers between 0 and 100
What is the full form of c++?
How do you establish an is-a relationship?
Can a program run without main function?
Differentiate between a constructor and a method in C++.
Is dev c++ a good compiler?