Question: (Multiple choice) Given this set of code: class temporary { public: void set(string,double, double); void print () ; double manipulate(); void get(); private: string description;

(Multiple choice) Given this set of code: class temporary \{ public: void set(string,double, double); void print () ; double manipulate(); void get(); private: string description; double first; double second; \} temporary temp; Which of the following statements correctly calls the set method? A. set("howdy", 1.0, 2.0); B. temporary.set("howdy" , 1.0, 2.0); C. temp.set("howdy", 1.0, 2.0); D. temporary->temp.set()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
