05-02-2011, 06:30 AM
What is Pointer?Please Make me the concept clear with illustration. How do we access pointers in a class? Thanks
|
Pointers in c++ 2011
|
|
05-02-2011, 06:30 AM
What is Pointer?Please Make me the concept clear with illustration. How do we access pointers in a class? Thanks
05-02-2011, 06:30 AM
In C++ or OOP by using C++, we have a "this" pointer.
Pointer is used to store the address of any variable/Object. this pointer stores the address of the class instance, to enable pointer access of the members to the member functions of the class. this pointer is not counted for calculating the size of the object. this pointers are not accessible for static member functions. this pointers are not modifiable 0300-9520262 Get solution in 24 hour |cpmputer & internet mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
|
|
« Next Oldest | Next Newest »
|