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

plssssss help !!....using array.. turbo c.. create a program that will accept number of words to be consored. .a word must not exceed 10 characters long .the text to be entered will be no longer than 200 characters .there will be no 10 words example: enter number of words to be censor: 5 enter words to censor: windows office microsoft bill gates enter text to censor: bill gates founded microsoft and makes office and windows sample output: <consored> <censored> founded <censored> and makes <censored> and <censored>

1 Answers  


What are global variables and explain how do you declare them?

0 Answers  


The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

0 Answers  


different between overloading and overriding

3 Answers  


What is the purpose of scanf() and printf() functions?

0 Answers  






find the minimum of three values inputted by the user

3 Answers  


Explain what is wrong with this statement? Myname = ?robin?;

0 Answers  


we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

0 Answers  


What are global variables and how do you declare them?

0 Answers  


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

0 Answers  


WAP that prints the number from 1 to 100. but for multiplies of three print "XXX" instead of the number and for the multiplies of five print "YYY" . for number which are multiplies of both three and five print "ZZZ"

3 Answers  


44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?

3 Answers  


Categories