Question: supposing a C / C + + function needs to send multiple values back to the function that called it . how can this be
supposing a CC function needs to send multiple values back to the function that called it how can this be done?
ausing a single return statement with multiple values.
b using multiple return statements.
c using structures or pointers.
d using an array of values, as long as all the values being sent back are all of the same data type.
e either a or d would work.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
