this Keyword in c++.





This video tutorial explains the " this " keyword in c++.
You will learn what is the use of this keyword, how to use this keyword in c++ in detail with example.

source code for this tutorial

#include 

using namespace std;

class Person{
private :
    int age;
public:
    void setAge(int age){
    this->age = age;
    }
    void showAge(){
    cout << this->age<
                    
return 0;
}

 
Back To Top