Classes and Objects on C# related Questions and Answers


Question :    Select output for the set of code :

 static void Main(string[] args)
  •  {
  •      int []a = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
  •      func(ref
    1. numbers are : 2 4 6 8 10
    2. numbers are : 3 5 7 9 11
    3. numbers are : 2 3 4 5 6
    4. None of the mentioned
    Answer :   2 - numbers are : 3 5 7 9 11  

  • * Be the First to Post a Comment.

    Submit comment :


    Captcha Image
    Reload

    Ask Question

    Captcha Image
    Reload

    Note : Name and Email never shown.





    Subscribe


    Become a part of EducationForever. Subscribe to our FREE Newsletter