Ask Question
16 June, 06:33

In the following method call, which argument is an array?

myObject. some_method (x, y, 3);

a) x is an array

b) y is an array

c) both x and y are arrays

d) neither x nor y is an array

e) can't say without seeing more code

+2
Answers (1)
  1. 16 June, 08:58
    0
    can't say without seeing more code

    Explanation:

    In the function calling, we pass the name of array, variable and direct value as well.

    for example:

    int y=3;

    int x[] = {1,2,3,4};

    fun (y, x);

    so, we can't tell which is variable and which is array, without seeing the rest of code.

    we can tell by seeing the initializing variable and function declaration or create function.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “In the following method call, which argument is an array? myObject. some_method (x, y, 3); a) x is an array b) y is an array c) both x and ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers