What's the difference between a linked list and an array?
Answer Posted / amneh tanbouz
Link list data is not stored in a contiguous memory, while
an array is a contiguous block of memory that is set aside
to store items of a single data type. also Linked list use
only the amount of memory required to store the data. An
array grabs a block of memory but may not use all of it for
actual storage data.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
When should the const modifier be used?
What does malloc () calloc () realloc () free () do?
Which function in C can be used to append a string to another string?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
Difference between Shallow copy and Deep copy?
Why do we use main function?
How do you redirect a standard stream?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is static and auto variables in c?
Explain what math functions are available for integers? For floating point?
Why pointers are used?
How does pointer work in c?
In which language linux is written?
Explain modulus operator. What are the restrictions of a modulus operator?
What is a lvalue