Transcription: To calculate the amount of memory that will be occupied by an object of class type, add the number of bytes required for each data member. For example, each fraction takes up as much space as two integers. An object of type weather occupies at least as many bytes as an int plus a float plus five long ends plus a pointer to char.