1.What is a Data Structure? Explain its need?
2.What is a Directed Graph? Write an algorithm to find
whether a Directed Graph is connected or not?
3.Explain the process of converting a Tree to a Binary Tree.
Answers were Sorted based on User's Feedback
Answer / gsrinivas
1.Data structure is mathematicle model to represent a data
in a computers memory.programming becomes easy.
| Is This Answer Correct ? | 12 Yes | 4 No |
Answer / diwakar anand
What is a Data Structure? Explain its need?
Ans- 1. A data structure is a systematic way of
organizing and accessing data.
2. A data structure tries to structure data!
* Usually more than one piece of data
* Should define legal operations on the data
* The data might be grouped together (e.g. in an
linked list)
3. When we define a data structure we are in fact
creating a new data type of our own.
* i.e. using predefined types or previously user
defined types.
* Such new types are then used to reference
variables type within a program
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / tejveer sambariya
data structure is a specialized format for organizing and storing data.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / mallikharjuna rao k
Data Structure is a collection of logical and mathematical
representation of data.
| Is This Answer Correct ? | 2 Yes | 1 No |
why we wont use '&' sing in aceesing the string using scanf
Write a program to swap two numbers without using third variable?
what is a pointer
4 Answers Bank Of America, TCS,
write a program for even numbers?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Sir,please help me out with the output of this programme:- #include<stdio.h> #include<conio.h> void main() { int a=18,b=12,i; for(i=a<b?a:b;a%i||b%i;i--); printf("%d %d",i); }
What is line in c preprocessor?
what are bitwise shift operators?
What are the 5 elements of structure?
Why shouldn’t I start variable names with underscores?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
What is scope rule in c?