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