Which is the better convention of declaring pointers in C++? MyClass* ptr (or) MyClass *ptr?
Which is the better convention of declaring pointers in C++? 

    MyClass* ptr

 

(or) 

`MyClass *ptr`

I find the first one meaningful, because i feel like declaring MyClass pointer rather than a MyClass and specifying a type modifier. But i see a lot of books recommending the later convention. Can you give the rational behind the convention you follow?   
Which is the better convention of declaring pointers in C++? MyClass* ptr (or) MyClass *ptr?
===

Which is the better convention of declaring pointers in C++? 

    MyClass* ptr

 

(or) 

`MyClass *ptr`

I find the first one meaningful, because i feel like declaring MyClass pointer rather than a MyClass and specifying a type modifier. But i see a lot of books recommending the later convention. Can you give the rational behind the convention you follow?   