What Will be the output of the following Code?
int i = 1;
int j = 1;
i = i++;
j = ++j;

Response.Write(i.ToString() + ":" + j.ToString());

 Posted by Lakhangarg on 9/17/2009 | Category: C# Interview questions | Views: 19105
Select from following answers:
  1. 1:1
  2. 2:1
  3. 1:2
  4. None of the above
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response