Want this question answered?
it is called as co-domain
It is a set which is known as the co-domain (or range).
No. A function takes in values of no, one, or more input variables, and returns no or one result. It cannot return more than one result. Do not confuse this with returning multiple results using call by reference parameters - this is not the same thing.
output
The range is the set of all possible outputs values for the function when given inputs from the domain.
The set of all values that a function will return as outputs is called the *range* of the function.
it is called as co-domain
RANGE -----> apex
It is a set which is known as the co-domain (or range).
No. A function takes in values of no, one, or more input variables, and returns no or one result. It cannot return more than one result. Do not confuse this with returning multiple results using call by reference parameters - this is not the same thing.
output
Not all functions return values. If you take a function which is of type void, you get a function which is does not return anything. The only functions which should return values are those which are used as a right side of expressions (so called rvalues).
The range is the set of all possible outputs values for the function when given inputs from the domain.
It is generally referred to as "a table of values"
Classes cannot return values, only functions can return values. But you cannot return a function from a function, you can only return a function pointer -- a pointer variable holding the address of the function you wish to return. All possible return values must be of the same type, therefore all function signatures and return types must be exactly the same -- only the name of the functions can differ.
You cannot return multiple values from a function. A function returns one or no values. That is the definition of a function. That said, you could have that one value be a pointer to a struct, or it could be a struct itself, and that struct could contain multiple values. You can also pass the function pointers to items in the caller's address space that the function could modify.
It is a relationship from one set to another, which is not a function.