What's the difference between a linked list and an array?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / bsn.teja
answers 1,2,3,4,5,11,13 gives the entire difference between
array and linked list.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / n.muthukumar
A linked list consists of data nodes, each pointing to the
next in the list. An array consists of contiguous chunks
memory of predetermined size.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / ashish chauhan
A linked list consists of data nodes, each pointing to the
next in the list. An array consists of contiguous chunks
memory of predetermined size
Is This Answer Correct ? | 4 Yes | 4 No |
program to find the ASCII value of a number
Which of the following is not an infinite loop ? a.while(1){ .... } b.for(;;){ ... } c.x=0; do{ /*x unaltered within theloop*/ ... }while(x==0); d.# define TRUE 0 ... while(TRUE){ .... }
write an algorithm to display a square matrix.
Can you write the function prototype, definition and mention the other requirements.
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
how can use subset in c program and give more example
What is the difference between File pointer and Internal Charecter Pointer?
What is the use of f in c?
write a program to create a sparse matrix using dynamic memory allocation.
If I have a char * variable pointing to the name of a function ..
What is #include in c?
how to write optimum code to divide a 50 digit number with a 25 digit number??