I B.Tech - Regular Examinations, June 2009
First Year
C PROGRAMMING AND DATA STRUCTURES - SET NO: 3
(Regulation 2007)
Time : 3 hours |
Maximam Marks:80 |
Answer any FIVE Questions
1. (a) Mention the use of sizeof and pointer operator in ’C’. Explain them with a
program.
(b) How comma and member selection operators used in ’C’. Explain with program.
2.Write a program to find sum of given series by using function with argument and
return value e = 2 + 3/1! - 6/2! + 9/3! - 12/4! .....!
3.(a) Write short notes on pointer arithmetic .
(b) How to use pointers in expression. Explain
4. Evaluate complex number using structure and pointer.
5. What do you mean by binary files explain with an example .
6. (a) Explain selection sort indetail.
(b) Explain bubble sort indetail.
7.Write a program to illustrate the various operations of singly linked list
8. (a) Write a program to swap nodes in a binary tree.
(b) Write a program to find min and max nodes in a binary tree.
|