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
Get step-by-step solutions from verified subject matter experts
