Classes and Objects on C# related Questions and Answers


Question :    Select the output for the following set of code :

    static void Main(string[] args)
  •     {
  •         int x = 4 ,b = 2;
  •         x -= b/= x * b;
  •         Console.WriteLine(x + " " 
    1. 4 2
    2. 0 4
    3. 4 0
    4. None of mentioned
    Answer :   3 - 4 0  

  • * 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