Login
Remember
Register
Ask a Question
How can we declare the functions?
0
votes
asked
Oct 8, 2020
in
Arduino
by
sharadyadav1986
How can we declare the functions?
#declare-function
#function-declaration
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 8, 2020
by
SakshiSharma
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
}
...