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 |
Explain bitwise shift operators?
what is the output of below code int x=8,y; x>>=2; y=x; what is y value. NOTE:EXPLANATION IS COMPALSARY with binary bits
Are local variables initialized to zero by default in c?
What is the difference between printf and scanf )?
What will be the result of the following C language program? main() { int a = 0; int b = 20; char x = 1; char y = 10; if(a,b,x,y) printf("Welcome"); }
write a program that accepts 3 numbers from the user. dispaly the values in a descending order.
What are the back slash character constants or escape sequence charactersavailable in c?
Write a program to use switch statement.
0 Answers Agilent, Integreon, ZS Associates,
Where are local variables stored in c?
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?
Explain what is the difference between functions abs() and fabs()?
Write a c program to build a heap method using Pointer to function and pointer to structure ?