Name an advantage of array over linked list?
Answer Posted / kiran
The Main advantage of array data structure is which is used
to hold like kind of data. in other words arrays hold
(save) similar kind of data items and array items stored in
contigues locations in memory. on the other hand link list
may hold unlike kind of data (group of data) and items
stored is not contigues in linked list.
| Is This Answer Correct ? | 23 Yes | 3 No |
Post New Answer View All Answers
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is encapsulation in oops?
What are the 4 main oop principles?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is stream in oop?
What is polymorphism in oop example?
Why do we use encapsulation in oops?
What is meant by oops concept?
Why multiple inheritance is not possible?
Is html an oop?
Why do we need polymorphism in c#?
Why do pointers exist?
What do you mean by Encapsulation?
Can abstract class have normal methods?
What is encapsulation with example?