function the purpose of a function is to take in


Function: The purpose of a function is to take in a number of values or arguments, do some calculations with those arguments and then return a single result.  Each language has different rules to define a function. In the C programming language the basic block for function is given as:  

return value function name (argument list) 

statement; 

}  

Functions can be called from the main program or from anywhere else, even from within itself. Program control will transfer to function definition statement as soon they are called and then return  back to next statement immediately after the calling point.  

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: function the purpose of a function is to take in
Reference No:- TGS0175425

Expected delivery within 24 Hours