Computer Science, asked by sumarsheelavant, 3 months ago

what is user defined function? explain with an example​

Answers

Answered by vivekanandadas615
5

Answer:

A user-defined function (UDF) is a function provided by the user of a program or environment, in a context where the usual assumption is that functions are built into the program or environment.

Explanation:

ex: main( ) ,sum( )

Answered by payushi9589
3

Answer:

A function provided by the user of the program.

Explanation:

void addNumber(int a, int b)

{

int sum = a+b;

// print sum

}

Hope this helps

Kindly mark as brainliest please

Similar questions