What does new do in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between #import and #include?
Will rust take over c++?
what is pulse code modulation?
What sorting algorithm does c++ use?
What is the purpose of templates in c++?
What are the 4 types of library?
What methods can be overridden in java?
How many types of scopes are there in c++?
What is an orthogonal base class in c++?
class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.
Why is c++ awesome?
Which uses less memory? a) struct astruct { int x; float y; int v; }; b) union aunion { int x; float v; }; c) char array[10];