Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How can we declare the functions?
Home
Arduino
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
}
...