MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of given code snippet? unsafe struct FixedBankRecord { public fixed byte Name[80]; public double Balance; public long ID; } class UnsafeCode { unsafe static void Main() { Console.WriteLine("Size of FixedBankRecord is " + sizeof(FixedBankRecord)); Console.ReadLine(); } } |
| A. | Run time error |
| B. | 80 |
| C. | 96 |
| D. | Compile time error |
| Answer» D. Compile time error | |