A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. How much memory will be allocated for an object of class given below?
class Test
{
 int mark1;
 int mark2;
 float avg;
 char name[10];
};
a. 22 Bytes
b. 24 Bytes
c. 20 Bytes
d. 18 Bytes
Answer:22 Bytes
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here