what is data structure.in linear and non linear data
structures which one is better?Explain
Answers were Sorted based on User's Feedback
Answer / ashi
A data structure is arrangement of data in a computer's
memory even disk storage linear data is better than non liner
| Is This Answer Correct ? | 15 Yes | 3 No |
Answer / rama krishna sidhartha
A data structure is a collection or organization of the data
in computer memory
(or)
A data structure is arrangement of data in a computer's
memory or even disk storage.
In linear and non-linear data structures, linear data
structure is better than non linear data structure. Because
in linear data structure, the elements of the data structure
are represented in the sequence. Whereas, in non linear data
structure is not in sequence.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / some guy
++linear and non-linear data structures have their own
significance ......which is better then the other is depend
on the application of data structure ...
for eg.
linear search vs. BST(binary search tree)
| Is This Answer Correct ? | 4 Yes | 1 No |
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
What are the types of type specifiers?
why do we use pointer instead directly acessing the data?
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
What is true about the following C Functions (a) Need not return any value (b) Should always return an integer (c) Should always return a float (d) Should always return more than one value
what is the significance of static storage class specifier?
void main(int argc,char *argv[],char *env[]) { int i; for(i=1;i<argc;i++) printf("%s",env[i]); }
write an interactive program to generate the divisors of a given integer.
What is the use of sizeof?
What are bitwise shift operators in c programming?
what is the role you expect in software industry?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
0 Answers Aegis, CDAC, Infosys,