You are here:

C/'C' Programming & Data Structure Questions

Advertisement


Question
Q.1> Write a program in ‘C' language which accepts inorder and preorder traversal outputs of  a  Binary Tree as input and prints the corresponding Binary tree.

Q.2> Write a program in ‘C' language to implement a Dqueue.

Q.3> Write a program in ‘C' language for the multiplication of two spares matrices. Use Doubly Linked lists.


Answer
You are asking questions as if you are interviewing me.
You will not learn anything, if I give these programs or spoon-feed you!

Try to solve them yourselves.
If you get into problems, then I will try to help you.
Remember that I don't want to do coding from scratch.
You have to start first and if you encounter problems, post your code here, list out the inputs that you gave, the o/p you are getting and also the expected o/p.
With all that info, I will try to help you.

So, start writing the code.

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.