I read a lot ebooks about C++. There are 2 way to declare a pointer, I don't know we should use which way although they are similar? And give me a reason.
Qt Code:
  1. char* str;
  2. or
  3. char *str;
To copy to clipboard, switch view to plain text mode 
Thanks.