Odd little operator in c and c++. It does all the following:
  • Declaring a pointer:
    int *ptr or int* ptr
    (there is a jihad almost as bad as emacs vs. vi about which of those is right. I usually go with *ptr)

  • Dereferencing a pointer:
    foo = *ptr
    would put the value in the memory address which ptr pointed to into foo.

  • Multiplication:
    foo = bar * baz