142k views
4 votes
The advantage of returning a structure type from a function when compared to returning a fundamental type is that

1 Answer

1 vote

Answer:

The function can return multiple values and the function can return an object

Step-by-step explanation:

The advantage of returning a structure type from a function when compared to returning a fundamental type is that the function can return multiple values and also the function can return an object

A function in a structure can be passed to a function from any other function or from the main function itself and the definition of a structure can be seen in the function where it is found

User Freelancer Mahmud
by
3.7k points