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
Write a c++ program to display pass and fail for three student using static member function
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What does <> mean pseudocode?
Can abstract class have normal methods?
What is and I oop mean?
2. Give the different notations for the class.\
What is class and object in oops?
Templates mean
Can we create object of interface?
What is the significance of classes in oop?
What is pure oop?
What is meant by oops concept?
what is the drawback of classical methods in oops?
State what is encapsulation and friend function?