If within a class da is a member variable will the statement-00466

Online Quiz This subjective question is related to the book/course vu cs302 Digital Logic Design. It can also be found in vu cs302 Mid Term Solved Past Paper No. 1.

Question 1: If, within a class, da is a member variable, will the statement this.da=25; assign 25 to da?
Answer:
No because "this" is pointer, so using pointer to object we use the -> operator to access object member function and data member,

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background