?
What will be the output of the following C# code snippet?
What will be the output of the following C# code snippet?
class UnsafeCode
{
unsafe static void Main()
{
int* p;
p = (int*)(65535);
Console.WriteLine((uint)p);
Console.ReadLine();
}
}
class UnsafeCode
{
unsafe static void Main()
{
int* p;
p = (int*)(65535);
Console.WriteLine((uint)p);
Console.ReadLine();
}
}
Join the Discussion
Login to post a comment or share your explanation.
Login