Code: 9A05101
R09
B.Tech I Year (R09) Supplementary Examinations December/January 2015/2016
PROGRAMMING IN C & DATA STRUCTURES
(Common to all branches)
Time: 3 hours Max. Marks: 70
Answer any FIVE questions
All questions carry equal marks
*****
1 Explain in detail about different components of a computer system.
2 (a) Explain the precedence of operators in arithmetic operations?
(b) Describe logical operators with their return values?
3 (a) Write a program to reverse the elements of an array
(b) Explain different storage classes in C.
4 (a) What is Static memory allocation? Explain with example.
(b) Write a program to find the presence of a substring in a given string using pointers.
5 (a) What is the use of period operator? Give an example.
(b) Explain structure within structure using an example.
6 Write a program to copy up to 100 characters from a file to an array. Then copy the contents of an
array to another file?
7 Discuss searching operations with singly linked list.
8 Write a C program for the sorting algorithm which examines and shift a maximum of n-1 other
entries?
*****