Answer P2


a=77    *pa=77


pointer pa pointing to int a
#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.



Back to Puzzle Home