Assignment No 5
Assignment No 5
5
1. What is Function? What is need of function.
2. What are the categories of function .
3. Write any four advantages of function.
.
4. List different categories of function. Give an example of argument with
return value.
5. With the help of example explain function with no argument and no return
value.
6. What are the formal parameters in function.
7. What is parameter and argument.
8. Explain recursive function with example.
9. What is Structure? How to define and initialize structure in c programming.
10. Create a structure named "Employee" to store employee
details such as employee ID, name, and salary. Write a program to
input data for three employees, find the highest salary employee,
and display their information.