Question: MAKE SURE TO ANSWER WITH PROOF AND PROPER EXPLANATION Language: c++ 2. The advantage of returning a structure type from a function when compared to

MAKE SURE TO ANSWER WITH PROOF AND PROPER EXPLANATION Language: c++

2. 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 doesnt need to include a return statement

d. all of the above

e. a and b only Answer I found online: Option e. BUT WHY?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!