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 8

using System;

class Foo
{
static void Main()
{
int i, j;
i = j = 0;
i += i = 1 * i++;
j += j = 1 * ++j;
Console.WriteLine("{0} {1}", i, j);
Console.ReadLine();
}
}

Vi aspettate:

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

Print | posted on martedì 25 maggio 2004 01:39 | Filed Under [ Quiz Sharp ]

Powered by:
Powered By Subtext Powered By ASP.NET