Answered Questions

  • Classes

    What error is caused by the following code ?class TemperatureList { public: TemperatureList( ); private: double * list; int size;};void func(Money amount);[...]int main{ TemperatureList list1; func(list1); return 0;}Choose one answer. a. double free b. divide by zero c. illegal argument d. no error