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();1.20 bytes
2.12 bytes
3.8 bytes
4.16 bytes
Posted Date:-2021-02-25 02:50:13