i++ vs ++i ( c# interview questions on postfix and prefix)

Posted by Questpond under C# category on | Points: 350 | Views : 3072
i++ :- In this scenario first the value is assigned and then increment happens.

++i :- In this scenario first the increment is done and then value is assigned.

Get Questpond videos on discounted price from ITFunda.com.

Comments or Responses

Posted by: Chakravarthi on: 1/20/2014

Login to post response