previous | start | next

Pointers and Memory Allocation (Syntax 10.3 Pointer Dereferencing)

Syntax 10.3 : Pointer Dereferencing

*pointer_expression
pointer_expression->class_member
Example:
*boss
boss->set_salary(70000)
Purpose: Access the object to which a pointer points.


previous | start | next