_ [01] >

const and Pointers

There are 4 possible combinations of using const with a pointer:

double *ptr1 ; const double *ptr2 ; double * const ptr3 ; const double * const ptr4 ;

How are these definitions different?