Explain the difference between new() and malloc() in c++?
No Answer is Posted For this Question
Be the First to Post Answer
How can I improve my c++ skills?
What is long in c++?
How a macro differs from a template?
Explain the difference between 'operator new' and the 'new' operator?
when can we use copy constructor?
What does it mean to declare a destructor as static?
Where do I find the current c or c++ standard documents?
Why do we use using namespace std in c++?
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
Is there any problem with the following: char *a=NULL; char& p = *a;?
In the derived class, which data member of the base class are visible?
an integer constant must have atleast one a) character b) digit c) decimal point