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

Answers were Sorted based on User's Feedback



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

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

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

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

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

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

Post New Answer

More C Interview Questions

What is function pointer and where we will use it

2 Answers   Infosys, NetApp,


i=10,j=20 j=i,j?(i,j)?i:j:j print i,j

1 Answers   CSC,


Struct(s) { int a; long b; } Union (u) {int a; long b; } Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4

2 Answers   Mascot,


errors in computer programmes are called

1 Answers   NET,


Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d

1 Answers   TCS,






how can i make a program with this kind of output.. Enter a number: 5 0 01 012 0123 01234 012345 01234 0123 012 01 0

4 Answers   Wipro,


Input is "Jack and jill went up a hill" To print output is 1-letter word(s)-1 2-letter words-1 3-letter words-1 4-letter words-4

1 Answers   Mind Tree, TCS,


What are loops c?

0 Answers  


52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?

9 Answers  


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database

2 Answers   TCS, Unisys, Webyog,


What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }

8 Answers   ADITI, Adobe,


What is 'makefile' in C langauage? How it be useful? How to write a makefile to a particular program?

2 Answers  


Categories