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 / 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 |
Post New Answer View All Answers
How can I delete a file?
Where static variables are stored in memory in c?
What are the types of functions in c?
How do you declare a variable that will hold string values?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
Describe newline escape sequence with a sample program?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
What is difference between stdio h and conio h?
Explain 'bus error'?
What are the functions to open and close file in c language?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
Is there anything like an ifdef for typedefs?
Explain what is a pragma?
Write a program to print all permutations of a given string.
What are identifiers and keywords in c?