a=77 *pa=77
#include <stdio.h> int main( void ) { int a = 77; int *pa = &a ; printf("a=%d *pa=%d\n", a, *pa ); return 0; }
Comments:
In the printf
statement, the expression *pa
means to follow the
pointer in pa
and use what is there (the variable a
) in this case.