ExamVeda
Login
Home
Classes and Objects in C Sharp
?

Calculate the number of bytes a structure variable s occupies in the memory if it is defined as follows.
class abc
{
    int i;
    Decimal d;
}
struct sample
{
   private int x;
   private Single y;
   private trial z;
}
sample s = new sample();

Answer & Solution
Correct Answer: Option D
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.