Question: using c++ Assume that a class named Student has a data member named age. Which if the following is a correct way for using the
Assume that a class named Student has a data member named "age". Which if the following is a correct way for using the "this pointer to set the value of age to 0? Select one or more: O a "this.age = 0; O b. (*this) .age = 0; cthis->age = 0; d. this.age = 0; O e. age.this = 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
