

MCQOPTIONS
Saved Bookmarks
1. |
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» B. 24 Bytes | |