what is data structure.in linear and non linear data
structures which one is better?Explain

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1690


What is the description for syntax errors?

875


What kind of structure is a house?

803


Which type of language is c?

862


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

1656


What is n in c?

828


How is pointer initialized in c?

814


I have seen function declarations that look like this

849


What happens if a header file is included twice?

833


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3309


Explain main function in c?

883


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

905


Difference between exit() and _exit() function?

917


What is the scope of static variables in c language?

879


Difference between malloc() and calloc() function?

919