value = 32 *pv = 32 **ppv = 32
#include <stdio.h> void main ( void ) { int value; int *pv; int **ppv; value = 32; pv = &value; ppv = &pv; printf("value = %d\n", value ); printf("*pv = %d\n", *pv ); printf("**ppv = %d\n", **ppv ); /* slight change */ system("pause"); }
Review: The following
**ppv
is more common than its equivalent,
*( *ppv )
but means the same thing.