React.js
Angular
Ethical Hacking
Agile
AWS
BlockChain
Cassandra
Cloud
Salesforce
Scaled Agile
TOGAF
DevOps
GIT
Jenkins
Jira
Kibana
Linux
NGINX
Ansible
Artificial Intelligence
in C++ by

What is this pointer?

Click here to read more about DevOps

1 Answer

0 votes
by

The ‘this’ pointer is passed as a hidden argument to all nonstatic member function calls and is available as a local variable within the body of all nonstatic functions. ‘this’ pointer is a constant pointer that holds the memory address of the current object. ‘this’ pointer is not available in static member functions as static member functions can be called without any object (with class name).

Related questions

Madanswer
+1 vote
+1 vote
+1 vote
0 votes
asked Jun 15 in C++ by Robindeniel
0 votes
asked Jun 11 in C++ by Robindeniel
...