Computer Science, asked by Tirthpatel1875, 1 year ago

a function should start with​

Answers

Answered by pihu200825
8

Answer:

which function what function

Answered by SharadSangha
14

A function starts with the function's name,it's return type and parameters.

These have their uses as follows.

1) The name is the name by which you invoke the function later on.

2)The return type of the function is the data type of the value which the function returns. eg: int,float etc.

Some functions do not return anything and they start with another unique type called "void".

3)A parameter is like a placeholder for another variable and a value is passed to the parameter when the function is invoked.

This value is the actual parameter argument which is passed on to the function,

Similar questions