Name an advantage of array over linked list?
Answer Posted / p.madhupriya
arrays are static in nature, therefore all operations
like memory allocation occur at the time of compilation
only. So processor has to put less effort at its runtime .
linkedlist uses dynamic memory allocation
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
class type to basic type conversion
What is pointer in oop?
How many human genes are polymorphic?
What is overriding in oops?
Why is oop useful?
What does enum stand for?
Can we create object of abstract class?
What is difference between inheritance and polymorphism?
What is meant by multiple inheritance?
What is and I oop mean?
Are polymorphisms mutations?
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
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is abstraction in oops?
What causes polymorphism?