(a) Why do we use functions in C? Explain the user-defined functions…
Previous year question for Computer Programming.
Question
(a) Why do we use functions in C? Explain the user-defined functions with the help of suitable example. (10)
(b) Write a program to swap two variables without using third variable using functions. (10)
- Year: 2018
- Subject: Computer Programming