0 votes
in Arduino by
How can we declare the functions?

1 Answer

0 votes
by
We can declare the function by using given code:

int sum_func (int x, int y) // function declaration {

int z = 0;

z = x+y ;

return z; // return the value

}
...