Creating Pointers
For creation of a pointer variable that can hold the address of a data type int, an asterisk is used to write the type definition of ptr such as
int * ptr;
As a result of this declaration, room for an address is allocated to ptr.
Previous slide
Next slide
Back to first slide
View graphic version