Name an advantage of array over linked list?
Answer Posted / jibran
in arrays direct access is possible where in linked list its not possible because all the time when we access an element we need pointers pointing to the memory location of that element...in short we can say that in linked list we are indirectly accessing the data but in arrays we are directly accessing the data...
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Why it is called runtime polymorphism?
What is object and example?
What is difference between inheritance and polymorphism?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is encapsulation c#?
What is the example of polymorphism?
Is react oop?
2. Give the different notations for the class.\
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is purpose of inheritance?
when to use 'mutable' keyword and when to use 'const cast' in c++
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’.
Why is oop useful?
What is methods in oop?
Where is pseudocode used?