what is the difference between arrays and linked list
Answer Posted / najirabanu
Array has fixed length but linked list is not have fixed
length if u store a number in array means it must have
memory space according to the number but in linked list not
neccessary memory space according to the number
In linked list one node that contain pointer,that denoted
as addrs of another node
In array should not contain addrs of another node
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is return a keyword in c?
What is the difference between call by value and call by reference in c?
Where define directive used?
How do you view the path?
Why should I prototype a function?
What is variable declaration and definition in c?
Why we use stdio h in c?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
How do I convert a string to all upper or lower case?
What are the 5 data types?
Give differences between - new and malloc() , delete and free() ?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
Explain the difference between null pointer and void pointer.
Can a variable be both static and volatile in c?
Define the scope of static variables.