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

using c++ using c++ Assume that a class named Student has a data member

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!