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
Why is abstraction needed?
What is meant by oops concept?
What is property in oops?
What is polymorphism give a real life example?
What is object and class in oops?
2. Give the different notations for the class.\
What is solid in oops?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
Why multiple inheritance is not allowed?
What do you mean by Encapsulation?
What language is oop?
What are the 5 oop principles?
Why do we use class?
How to use CMutex, CSemaphore in VC++ MFC
What are the types of abstraction?