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.
Answer Posted / 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 |
Post New Answer View All Answers
How can I access an I o board directly?
What does the format %10.2 mean when included in a printf statement?
Do string constants represent numerical values?
how to find anagram without using string functions using only loops in c programming
Is it cc or c in a letter?
What is the explanation for cyclic nature of data types in c?
What is c mainly used for?
What is the difference between procedural and declarative language?
Write a program to generate random numbers in c?
What type is sizeof?
What are reserved words?
What is #include in c?
What is string function in c?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
What is the difference between arrays and pointers?