Is double link list a linear data structure? If Yes, Why?If
No, Why?

Answers were Sorted based on User's Feedback



Is double link list a linear data structure? If Yes, Why?If No, Why?..

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

Is double link list a linear data structure? If Yes, Why?If No, Why?..

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

Is double link list a linear data structure? If Yes, Why?If No, Why?..

Answer / arti

yes,

Is This Answer Correct ?    1 Yes 2 No

Is double link list a linear data structure? If Yes, Why?If No, Why?..

Answer / anil kumar

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

Post New Answer

More C Interview Questions

How to calculate sum

2 Answers  


explain memory layout of a C program

2 Answers  


how to find out the reverse number of a digit if it is input through the keyboard?

6 Answers  


Design a program using an array that lists even numbers and odd numbers separately from the 12 numbers supplied by a user.

8 Answers  


What is header file definition?

0 Answers  






What are identifiers and keywords in c?

0 Answers  


2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }

1 Answers   Wipro,


What are pragmas and what are they good for?

0 Answers  


shorting algorithmS

0 Answers   Wipro,


What is the use of volatile?

0 Answers  


Describe the header file and its usage in c programming?

0 Answers  


How does placing some code lines between the comment symbol help in debugging the code?

0 Answers  


Categories