Computer Science, asked by khushihmath, 1 month ago

write a function prototype for the function compute which accepts two nteger arguments and returns the sum of their square root values

Answers

Answered by imkrishnad987
0

Answer:

Syntax and Components

The general syntax of a function is as follows:

return_type function_name( arg_type argument, ... ) {

local_variable_type local_variables;

executable statement(s);

return return_value;

}

Example:

int add( int a, int b ) {

int sum;

sum = a + b;

return sum;

}

Return Type

The "return type" indicates what kind of data this function will return. In the example above,the function returns an int.

Similar questions