ExamVeda
Login
Home
Arrays and Strings in C Sharp
?

Select the correct match of parameter declaration.
static Void main(string[] args)
{
    int a = 5;
    int b = 6;
    float c = 7.2f;
    math (ref a, ref b, ref c);
    Console.WriteLine(a + "  " + b + "  " + c);
}
static int math(/*add parameter declaration */)
{
    a += b;
    b *= (int)c;
    c += a * b;
    return 0;
}

Answer & Solution
Correct Answer: Option D
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.