EST102-B - June 2022
EST102-B - June 2022
Page 1 of 2
14 a) Explain formatted and Unformatted I/O functions of C language with syntax and (7)
example.
b) Write a C program to read a character from the user and check whether it is a (7)
vowel or consonant.
15 a) Write a C program to find the transpose of a matrix. (7)
b) Explain any 4 string handling functions in C programming. (7)
OR
16 a) Write a C program to reverse a string without using string handling functions. (7)
b) Write a C program to sort an array of numbers using bubble sort. (7)
17 a) Write a C program to : (7)
(i) Create a structure containing the fields: Name, Price, Quantity, Total Amount.
(ii) Use separate functions to read and print the data.
b) What are different storage classes in C? Give examples for each. (7)
OR
18 a) What are the main differences between structures and unions? Which is preferred (7)
in what situation? Give examples.
b) What is recursion? Write a C program to display Fibonacci series using recursive (7)
function.
19 a) Write a C program to replace vowels in a text file with character ‘x’. (7)
b) Explain how pointers can be passed to functions in C. (7)
OR
20 a) Explain any 5 file handling functions in C? (7)
b) Write a C program to print the elements of an array in reverse order using (7)
pointers.
****
Page 2 of 2