Computer Science, asked by vaisakhpv033, 10 months ago

How many values can a C Function return at a time.?



1.only one value

2.maximum two values

3.maximum four values

4.any number of values




Answers

Answered by PRIYANKA9810
9

Answer:

B -part is correct answer

Answered by madeducators5
1

Only one value

Explanation:

  • A function in C can return only one value.
  • If we want the function to return multiple values of same data types, we could return the pointer to array of that data types.
  • We can also make the function return multiple values by using the arguments of the function.
  • By providing the pointers as arguments.
  • Usually, when a function needs to return several values, we use one pointer in return instead of several pointers as arguments.

Similar questions