Q:

How much memory will be allocated for an object of class given below?

0

How much memory will be allocated for an object of class given below?

class Test
{
 int mark1;
 int mark2;
 float avg;
 char name[10];
};

  1. 22 Bytes
  2. 24 Bytes
  3. 20 Bytes
  4. 18 Bytes

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).22 Bytes

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING OBJECTS AND CLASSES IN OOPS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which keyword among the following can be used to d... >>
<< Which of the following function can be used for dy...