Blog

What is the output of the below code?

int x, y =3;
int z;
for (x = 0; x < 5; x++) { z = y++ – ++y;
Console.WriteLine(z + “ ”);
}