what is the use of using linked list and array?
Answer Posted / rani
Linked list has an overhead cost of maintaining reference
pointers it uses. They too consume lot of memory. And this
cost is more in case of doubly linked lists.
Linked lists always provide sequential access. While arrays
give random access.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Is void a keyword in c?
Can a variable be both static and volatile in c?
Do pointers store the address of value or the actual value of a variable?
Why is #define used?
explain what are pointers?
Is null always defined as 0(zero)?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What functions are used in dynamic memory allocation in c?
What are pointers?
What are the rules for identifiers in c?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
Explain how do you override a defined macro?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
Can we replace the struct function in tree syntax with a union?
Why is c faster?