2078 7

C Programming20785 marksUser defined functions

Write a program using your own function to find sum of two numbers.

Write a program using your own function to find sum of two numbers. [5]

A user-defined function is a function created by the programmer to perform a specific task. Here, we define a separate function sum() that takes two numbers as parameters, adds them, and returns the result to main(). --- --- --- Part Description ------ int sum(int a, int b) User-defined function ...

Up nextWrite a program to print largest among three number entered by the user.