public static void Main(string[] args)
{
int n1 = 10;
int n2 = 90;
long sum;
sum = n1 + n2;
Console.WriteLine("Sum : " +sum);
Console.Read();
}

 Posted by Amatya on 4/6/2016 | Category: C# Interview questions | Views: 1946 | Points: 40
Select from following answers:
  1. Not a C# code
  2. No Error
  3. Runtime error
  4. None of above
  5. All Above

Show Correct Answer


Source: Through Interviews | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response