int*

Hi, i was wondering what is the difference between int* p and int *p?
There is no difference as far as the compiler is concerned.
Style.

You can also write
int * p;
and
1
2
3
int
         *
  p;

The C/C++ are quite liberal about the use of whitespace.
thanks
Topic archived. No new replies allowed.