C Programme Module 4 Question
C Programme Module 4 Question
PROGRAMMING IN C
MODULE -4
Part A
July 2021(3marks)
Part B
7. a) What are different storage classes in C? Give examples for each. (7marks)
(i) Create a structure containing containing the fields: Name-. Price, Quantity, Total
Amount.
OR
https://wa.me/+917994352111
10. a) What are different storage classes in C? Give examples for each. (7marks)
b) Write a C program to find sum and average of an array of integers using user defined functions.
July 2021(7marks)
(i) Create a structure containing the fields: Name, Price, Quantity, Total Amount.
(ii) Use separate functions to read and print the data. (7marks)
b) What are different storage classes in C? Give examples for each. June 2022(7marks)
OR
12. a) What are the main differences between structures and unions? Which is preferred in what
situation? Give examples. (7marks)
13. What is recursion? Write a C program to display Fibonacci series using recursive function.
June 2022(7marks)
14. Explain different storage classes in C with example. (7marks)
15. Explain recursion .Write a c program to perform factorial of a program using recursion
(7marks)
16. Write a C Program fibonacci series using recursion (7marks)
17. Explain different parameter passing methods with example. (7marks)
18. Write a C program to read and display student details and calculate grade using Structure
(7marks)
19. Write a C program to read and display employee details and salary using Structure (7marks)