217k views
0 votes
The advantage of returning a structure type from a function when compared to returning a fundamental type is that a. the function can return multiple values b. the function can return an object c. the function doesn’t need to include a return statement d. all of the above e. a and b only

User Utdiscant
by
4.9k points

1 Answer

0 votes

Answer:

The advantage of returning a structure type from a function when compared to returning a fundamental type is that

e. a and b only.

Step-by-step explanation:

One advantage of returning a structure type from a function vis-a-vis returning a fundamental type is that the function can return multiple values. The second advantage is that the function can return can an object. This implies that a function in a structure type can be passed from one function to another.

User Renevdkooi
by
6.1k points