Why is it difficult to store linked list in an array?
Answers were Sorted based on User's Feedback
Answer / deepti
because in linklist we can store as many elements as we
want because size does not matter .but in case of array if
we define size suppose 20 we can store only 20 elements .
| Is This Answer Correct ? | 20 Yes | 2 No |
Answer / maria
Because of defragmentation, when node should be deleted.
| Is This Answer Correct ? | 15 Yes | 2 No |
Answer / sandy
because it grows dynamically. it can get extra node from
avail(available) list whereever array not having any avail
list......
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer /
array can grow dynamically...........
but it is a waste of memory to set them to grow dynamically
| Is This Answer Correct ? | 2 Yes | 14 No |
What is data types c++?
Which is the best c++ compiler?
A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.
make a middle node of doubly linklist to the top of the list
why is c++ called oops? Explain
Write a program to calculate the following i want a c++program for this condition 1+4+9+16+….+100 Like this (1^2+2^2) Hint use function pow(a,b)
What are the two shift operators and what are their functions?
How do you link a C++ program to C functions?
What are virtual functions in c++?
What is abstraction in c++?
What is oops in c++?
Is c# written in c++?