Why is it difficult to store linked list in an array?
Answer Posted /
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 |
Post New Answer View All Answers
What is the prototype of printf function?
Write about a nested class and mention its use?
Write some differences between an external iterator and an internal iterator?
What is the use of bit fields in structure declaration?
What is the difference between *p++ and (*p)++ ?
What is the history of c++?
What is the use of lambda in c++?
What is auto type c++?
What is #include ctype h in c++?
Is arr and &arr are same expression for an array?
What are vectors used for in c++?
Write a function that swaps the values of two integers, using int* as the argument type?
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.
What are proxy objects in c++?
What is a pointer with example?