05-02-2011, 06:41 PM
* this means that reference of this pointer.If a user wants to return reference to the current object from a function,in such cases reference is taken from this pointer like(*this).
Example:
student student:
etRollNo(int aNo)
{
...
return *this;
}
Example:
student student:
etRollNo(int aNo){
...
return *this;
}
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
