Oct 8, 2020 in Arduino
Q: How can we declare the functions?

1 Answer

0 votes
Oct 8, 2020
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

}
Click here to read more about Arduino
Click here to read more about Insurance

Related questions

0 votes
Aug 17, 2020 in Arduino
...