

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following is a correct statement about the C#.NET code given below? class trial { int i; float d; } struct sample { private int x; private Single y; private trial z; } sample s = new sample(); |
A. | Trial object referred by z is created on the stack |
B. | Z is created on the heap |
C. | Both s and z will be created on the heap |
D. | S will be created on the stack |
Answer» E. | |