adplus-dvertising
frame-decoration

Question

Select the correct declaration of the defining array of parameters:

a.

void func(int[] x)
{

}

b.

void func(int x)
{

}

c.

void func(param int[])
{

}

d.

void fun(param int[] x)
{

}

Posted under C# programming

Answer: (d).void fun(param int[] x)
{

}

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Select the correct declaration of the defining array of parameters: