MCQOPTIONS
Saved Bookmarks
| 1. |
How many bytes will the structure variable samp occupy in memory if it is defined as shown below? class Trial { int i; Decimal d; } struct Sample { private int x; private Single y; private Trial z; } Sample samp = new Sample(); |
| A. | 20 bytes |
| B. | 12 bytes |
| C. | 8 bytes |
| D. | 16 bytes |
| Answer» C. 8 bytes | |