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 |
What are the major differences between C and C++?
Tell us the size of a float variable.
What is constant keyword in C++? Illustrate its various uses.
0 Answers Akamai Technologies, Infogain,
What is the meaning of the following declaration: int *const *const *i?
What is the purpose of a constructor? Destructor?
In C++ what is the meaning of data hiding?
What is name mangling/name decoration?
It is possible to build a C++ compiler on top of a C compiler. How would you do this?
Write a program to display the following output using a single cout statement Maths=90 Physics=77 Chemistry = 69
How to invoke a C function using a C++ program?
Name the operators that cannot be overloaded.
What is the difference between member functions and static member functions?