MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following code snippet? class UnsafeCode { unsafe static void Main() { int* p; p = (int*)(65535); Console.WriteLine((uint)p); Console.ReadLine(); } } |
| A. | Compile time error |
| B. | Garbage value |
| C. | Program prints value at address 65535 |
| D. | Program prints 65535 |
| Answer» E. | |