Computer Science, asked by renu4726, 1 year ago

Write the general Syntax of a function

Answers

Answered by siddhartharao77
1
Syntax of function : 


return_type function_name (argument list)
{
    // function body;
}
Answered by rvk123
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
Similar questions