Name an advantage of array over linked list?

Answer Posted / amandeep singh bhatia

IN array we can directly access any element by index number
but in linked list if we want to access any element then we
have to go from starting and linearly we access that
element.

Is This Answer Correct ?    43 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is abstract thinking intelligence?

792


What are properties in oop?

807


What is super in oop?

828


What makes a language oop?

819


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4331


What is class and object in oops?

832


Where is pseudocode used?

735


What is use of overloading?

856


to find out the minimum of two integer number of two different classes using friend function

1869


Why polymorphism is used in oops?

790


What is a superclass in oop?

907


What is data binding in oops?

822


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’.

1983


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1850


Why we use classes in oop?

765