what is data structure in C?
By amit8sinha
@amit8sinha (836)
India
December 8, 2006 8:09am CST
I want to get more information that what is it and how i can use it in my programming learning.
8 responses
@nautiyal_rohit (2928)
• India
8 Dec 06
Its related to stacks and other thing in data structure in C
1 person likes this
@starsun (316)
• India
8 Dec 06
In computer science, a data structure is a way of storing data in a computer so that it can be used efficiently. A well-designed data structure allows a variety of critical operations to be performed on using as little resources, both execution time and memory space, as possible.
If u want more details visit:
http://en.wikipedia.org/wiki/Data_structure
• India
3 Jan 07
As Dholey and others suggest, Data structure is a way of organizing data and efficiently retreiving it. As a C programmer your basic steps towards learing and implementing them require a thorough understanding of Arrays, Structures and pointers. These form the basic blocks of any data structure implementation in C/C++. However, this only enhannces your knowledge and programmming ability. If you want to see them in real action with a minimal amount of coding, JAVA is the best place. The SDK has all the inbuilt capabilites to organise data into different data structures.
You can go through 'Data structure through C/C++' by Yeshavanth Kanethkar for easy and quick understanding....later you can proceed with other publishers to master them.
@dholey (1383)
• India
17 Dec 06
a structure declaration which has a pointer to itself in its declaration is the basics of data structure like
struct test
{
int val;
struct test *next;
} ;
now using instances of this declaration you can manage data in efficient mannaer , you can make que, stack, trees, graphs of your data , i.e data is then represented in specific manner , it can be used of indexing data with different keys , you can have search methods for different key ... its a vast topic ... it is very helpful for handling big data in proper manner , it increases the performance of your program ... get few good books like schaums outline of data structure, data structure by kanitkar, data structure by c. date ...
@nishanity (1650)
• India
8 Dec 06
basic data types are : int,char,float,double
more complicated data types are : tree,graph,queue,stack
now its not possible to teach u how to use them in programming
u can learn tht online... online tutorials are available 4 tht