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. 10 Bytes
  3. 15 22 Bytes
  4. 23 22 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 MEMBER FUNCTIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which among the following best describes member fu... >>
<< Which operator among the following must be overloa...