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
8.0k 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
8.6k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.