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
Is abstract thinking intelligence?
What are properties in oop?
What is super in oop?
What makes a language oop?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is class and object in oops?
Where is pseudocode used?
What is use of overloading?
to find out the minimum of two integer number of two different classes using friend function
Why polymorphism is used in oops?
What is a superclass in oop?
What is data binding in oops?
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’.
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!!!)
Why we use classes in oop?