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
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.
Is a pointer a kind of array?
What is the purpose of type declarations?
Why C language is a procedural language?
Explain what are the different data types in c?
What is non linear data structure in c?
Write a program to swap two numbers without using third variable in c?
Explain how do you print only part of a string?
Explain how can I remove the trailing spaces from a string?
Explain main function in c?
Define Array of pointers.
What is c basic?
What are the general description for loop statement and available loop types in c?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles