What is datastructure and with an example ?

Showing Answers 1 - 6 of 6 Answers

amit sureshkumarji agrawal

  • Mar 14th, 2006
 

 data  structure is nothing but  the composition two or more data datatypes .

 struct  record  { int data ; struct  record *next };

  Was this answer useful?  Yes

sateesh

  • Jun 11th, 2006
 

data structures means that combination of data with structures

  Was this answer useful?  Yes

vaniii

  • Jul 5th, 2007
 

Datastructure deals not only the location where datas are stored but also provides the relationship between the data.
e.g:
    marks scored by a student in five sub..

struct marks

{

   char name[20];

   int phy,che,mat,bot,zoo;

}a;
     phy=99
     che=98
      mat=100
      bot=90
      zoo=80
 the phy,che.... are variables.obviously they stored in memory in different locations...from their values we can infer that these variables provides details of marks scored by a student...so the relationship is marks

  Was this answer useful?  Yes

sreekanth

  • Nov 17th, 2007
 

data structures are structures used for implementing different data in a program.
examples are
1)tree
2)queue
3)list
4)heap

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions