0
923views
What is a Function?
1 Answer
1
4views

A function can be called by simply using the function name in the statement.

Eg:

main() 
{ 
int p; 
p = mul(10,5); 
printf(ā€œ%d \nā€, p); 
}

When the compiler executes a function call, the control is transferred to the function mul(x,y).The function is then executed line by line as described ā€¦

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.