What is the difference between an ARRAY and a LIST in C++?
Answer / nashiinformaticssolutions
Although lists and arrays are both used to store data, they differ in a few important ways. These consist of:
• A list's size is changeable, but an array's is fixed.
• While a list allows sequential access, in which the user must navigate through the elements to locate a given index, an array allows random access using indexes.
• While a list can store entries in any memory location, an array stores elements in contiguous memory.
Is This Answer Correct ? | 0 Yes | 0 No |
Tell us the size of a float variable.
Without using third variable write a code to swap two numbers.
What is the meaning of the following declaration: int *const *const *i?
How many times will this loop execute? Explain your answer.
What are the advantages and disadvantages of B-star trees over Binary trees?
Write a C++ Program to Find Sum and Average of three numbers.
What is an abstract class in C++
0 Answers SwanSoft Technologies,
Name the operators that cannot be overloaded.
What is constant keyword in C++? Illustrate its various uses.
0 Answers Akamai Technologies, Infogain,
Discuss about iteration statements in C++ .
Briefly explain various access specifiers in C++.
If class D is derived from a base class B