Name an advantage of linked list over array?

Answer Posted / amarpreet

getting an element from array is easybut from linked list
it is difficult because you have to search from start node
and traverse through each and every node

Is This Answer Correct ?    10 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is purpose of inheritance?

847


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1619


What are the 3 pillars of oop?

864


What is encapsulation process?

784


Why is polymorphism used?

775


Why multiple inheritance is not possible?

794


Why do we use inheritance?

818


What is abstraction and encapsulation?

772


What is polymorphism oop?

818


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

1986


How long to learn object oriented programming?

812


What is ambiguity in inheritance?

844


What is object in oop?

877


Can we define a class within the interface?

792


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1870