First page Back Continue Last page Graphics
Notes:
char * str; // Doesn't allocate memory for the string.
num_strings is a static class member. This means the program creates only one copy, regardless of the number of objects created. “shared among all objects”. If you created 5 StringBad objects, there would be 5 str members, 5 len members, and one shared num_strings member.