Web Log di Adrian Florea

"You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." Antoine de Saint-Exupery
posts - 440, comments - 2715, trackbacks - 3944

My Links

Archives

Post Categories

Image Galleries

.RO Blogs

.RO People

.RO Sites

Blogs

Furls

Links

vinCitori

Quiz Sharp 13

using System;

class Foo
{
  static void Main()
  {
    int j = 0;
    for(int i = int.MinValue; i < int.MaxValue; i++)
    {
      if(i == -i)
      {
        j++;
      }
    }
    Console.WriteLine(j);
    Console.Read();
  }
}

Cosa viene visualizzato a console?

  • A. 2
  • B. 1
  • C. 0

Siete sicuri? :-)

Print | posted on domenica 30 maggio 2004 05:03 | Filed Under [ Quiz Sharp ]

Powered by:
Powered By Subtext Powered By ASP.NET