How does the copy constructor differ from the assignment operator (=)?
Difference between pointer to constant vs. Pointer constant
why can't we declare data member of class auto register or extern
Write a String class which has: 1) default constructor 2) copy constructor 3) destructor 4) equality operator similar to strcmp 5) constructor which takes a character array parameter 6) stream << operator
2 Answers HCL, Lehman Brothers, Zoomerang,
What is the latest c++ version?
Refer to a name of class or function that is defined within a namespace?
Define pointers?
Mention the storage classes in c++.
What are activex and ole?
Is it possible to provide special behavior for one instance of a template but not for other instances?
What is the copy-and-swap idiom?
What is compilation?
How would you represent an error detected during constructor of an object?