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 |
What is main () in c?
what is the difference between definition and declaration? give me some examples.
i=10,j=20 j=i,j?(i,j)?i:j:j print i,j
What are the uses of null pointers?
What is cohesion in c?
void main() { char far *farther,*farthest; printf("%d..%d",sizeof(farther),sizeof(farthest)); }
Is c++ based on c?
Who developed c language and when?
Explain the concept and use of type void.
Is there a way to switch on strings?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database
2 Answers TCS, Unisys, Webyog,
Differentiate between null and void pointers.