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
}
Related questions
0
votes
Q: How we can declare element dimension in CSS?
asked
Feb 14
in
CSS
by
DavidAnderson
css3-interview-questions-answers
+1
vote
Q: Can we declare the static variables and methods in an abstract class?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#static-variable
#abstract-class
Java-questions-answers
0
votes
Q: What are the functions of time in Arduino?
asked
Oct 8, 2020
in
Arduino
by
sharadyadav1986
#time-in-arduino
#function-time-in-arduino
0
votes
Q: What will happen if we supply a voltage of 25V to the Vcc of the MQ2 Gas Sensor?
asked
Nov 29, 2021
in
Arduino
by
DavidAnderson
arduino
0
votes
Q: Why we should use Arduino?
asked
Oct 8, 2020
in
Arduino
by
sharadyadav1986
#use-arduino
#arduino-use
0
votes
Q: Why do we need Arduino Shields?
asked
Aug 17, 2020
in
Arduino
by
RShastri
#arduino
0
votes
Q: How can we use Google Cloud Functions with Firebase, and what benefits does this integration provide?
asked
Dec 2, 2023
in
Google Cloud
by
GeorgeBell
google-cloud-interview-questions-answers
0
votes
Q: How can we configure Log Level for Azure Functions?
asked
Mar 16, 2022
in
Azure Function
by
sharadyadav1986
configure-log
azure-function
0
votes
Q: How can we use NuGet packages in my Azure Functions?
asked
Mar 16, 2022
in
Azure Function
by
sharadyadav1986
azure-function
nuget-package
0
votes
Q: How can we define a variable accessible in functions of a PHP script?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
...