adplus-dvertising
frame-decoration

Question

Select the output for the following set of codes:
static void Main(string[] args)
  {
      int i = 0;
      while (i++ != 0) ;
      Console.WriteLine(i);
      Console.ReadLine();
  }

a.

-127 to +127

b.

0 to 127

c.

1

d.

Infinite loop condition

Answer: (c).1

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Select the output for the following set of codes: