Class Program {
Public stativ void Main ( string [] args)
{
int i = 1;
Console.WriteLine( ""+i++
+ ++i+ "");
Console.ReadLine();
}
}
what is the output of this program
Answers
Answered by
1
Answer:
4
Explanation:
firstly I++ evaluated which will be 1
after that it becomes 2
++I becomes 3
hence 1+3=4
Similar questions