Write the general Syntax of a function
Answers
Answered by
1
Syntax of function :
return_type function_name (argument list)
{
// function body;
}
return_type function_name (argument list)
{
// function body;
}
Answered by
1
returntype funtion name (arguments );
-decleration of funtion
retrun tyep funtion name(argument){
definatiom of funtion
}
eg..
int add(int q,int n);
then
int add (int a,int p)
{
body of funtion
}
hope u loke it
-decleration of funtion
retrun tyep funtion name(argument){
definatiom of funtion
}
eg..
int add(int q,int n);
then
int add (int a,int p)
{
body of funtion
}
hope u loke it
Similar questions
Math,
7 months ago
Social Sciences,
7 months ago
Computer Science,
7 months ago
Social Sciences,
1 year ago
Math,
1 year ago
Business Studies,
1 year ago
Computer Science,
1 year ago