Explain what you mean by a pointer.
No Answer is Posted For this Question
Be the First to Post Answer
Why null pointer is used?
What is difference between malloc()/free() and new/delete?
How would you implement a substr() function that extracts a sub string from a given string?
what is difference between internet and Internet?
12 Answers College School Exams Tests, Microsoft, MIT, TCS,
Do we have to use initialization list in spite of the assignment in constructors?
What is #include cstdlib in c++?
What is an adaptor class in c++?
When should overload new operator on a global basis or a class basis?
What is the extraction operator and what does it do?
Explain mutable storage class specifier.
What is Virtual Inheritance?
class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list