What is a function call? What is the syntax of a function call?

To execute a function we will have to call the function. A function call establishes a link between the called function and the calling program.

A function call has the following syntax:


variable = Function_name (arg1, arg2…);
where arg1, arg2… are the actual parameters.

Example:
int x = addition( a, b);
where a, b are the actual parameters.


Thanks
Mukesh Rajput
Mukesh Rajput

Mukesh Rajput

I am a Computer Engineer, a small amount of the programming tips as it’s my hobby, I love to travel and meet people so little about travel, a fashion lover and love to eat food, I am investing a good time to keep the body fit so little about fitness also..

Post A Comment:

0 comments: