Answer Posted / rdurgalakshmi
Vector manages memory allocations, manages in the sense, it
provides constructor,copy constructor,assignment operator,
destructor etc. whereas array doesn't.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can abstract class have normal methods?
What is constructor in oop?
What is balance factor?
What is the highest level of cohesion?
What is destructor example?
what are the ways in which a constructors can be called?
what is the sylabus for priliminaries?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is inheritance write a program to show use of inheritance?
What are the two different types of polymorphism?
Advantage and disadvantage of routing in telecom sector
What is polymorphism and its types?
Why do pointers exist?
What do you mean by overloading?
What is polymorphism explain its types?