C Programming010 marksFunction advantages
Discuss the advantages of using functions in programming. Differentiate between recursive function and normal function.Write a program using call by reference to swap the values of two variables.[6+4]
Discuss the advantages of using functions in programming. Differentiate between recursive function and normal function.Write a program using call by reference to swap the values of two variables.[6+4]
--- A function is a self-contained block of code that performs a specific task and can be called multiple times from different parts of a program. 1. Modularity - Functions break a large, complex program into smaller, manageable modules. - Each function handles one specific task, making the progr...