
#include <iostream>

int main(void )
{
  char a='W', b='Q';
  char *where;

  std::cout << "The variable \"a\" stores " << a << std::endl;
  std::cout << "The variable \"b\" stores " << b << std::endl;
  std::cout << "The variable \"a\" is stored at the address " <<
    (void *)&a << std::endl;
  std::cout << "The variable \"b\" is stored at the address " <<
    (void *)&b << std::endl;

  where = &a;
  std::cout << "The variable \"where\" stores "
	    << (void *) where << " at location " << (void *)&where << std::endl;
  std::cout << "... and that in turn stores " <<  *where << std::endl;

  return (0);
}


