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

Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

4849


Is a pointer a kind of array?

604


What is the purpose of type declarations?

686


Why C language is a procedural language?

627


Explain what are the different data types in c?

767






What is non linear data structure in c?

582


Write a program to swap two numbers without using third variable in c?

624


Explain how do you print only part of a string?

659


Explain how can I remove the trailing spaces from a string?

634


Explain main function in c?

634


Define Array of pointers.

644


What is c basic?

610


What are the general description for loop statement and available loop types in c?

692


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1145


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

657