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
How can I prevent another program from modifying part of a file that I am modifying?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
What is the use of pragma in embedded c?
What is meant by errors and debugging?
How can a number be converted to a string?
What is the most efficient way to count the number of bits which are set in an integer?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
Define macros.
Write a program to check prime number in c programming?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
Why doesn't C support function overloading?
How does placing some code lines between the comment symbol help in debugging the code?
What is a const pointer in c?
Why do we use & in c?
Why do we use pointer to pointer in c?