1.

What will be the ouput of the given code snippet?
 class UnsafeCode { unsafe static void Main() { int* a; int a1 = 10; int b1; b1 = *&a1; a = &b1; { Console.WriteLine(*a); Console.ReadLine(); } } } 

A. Program will print garbage value
B. Program will print address of a
C. Program will print value of a1
D. Program will print address of a1
Answer» D. Program will print address of a1


Discussion

No Comment Found