Is double link list a linear data structure? If Yes, Why?If
No, Why?
Answers were Sorted based on User's Feedback
Answer / vinita khandavi
Yes ,
The data are stored in the linear manner in memory..
all Linked list are linear data structures..
Tree, Table, Graph, Hash Table are nonlinear data structures..
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / kiran
A data structure is said to be linear, if the elements are accessed in sequence. As the nodes of a DLL are accessed in sequence(starting from the first node, one after the other), it is a linear data structure.
| Is This Answer Correct ? | 0 Yes | 0 No |
no,,because in doublelinked list the data is stored
dynamically,we can't acces a data directly without knowing
its base address
| Is This Answer Correct ? | 1 Yes | 7 No |
How can I send mail from within a c program?
What is ctrl c called?
consider the following C code main() { int i=3,x; while(i>0) { x=func(i); i--; } int func(int n) { static sum=0; sum=sum+n; return(sum); } the final value of x is
differentiate built-in functions and user – defined functions.
how to swap two nubers by using a function with pointers?
Subtract Two Number Without Using Subtraction Operator
Why do we use pointer to pointer in c?
what will be the output of" printf("%d%d",scanf("%d% d",&a&b));"
which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none
Explain what are the standard predefined macros?
what is recursion in C
what is the c.