- Joined
- 5/17/06
- Messages
- 99
- Points
- 26
Just need to confirm that the following two ways of declaring pointers are equivalent:
Type* identifier;
Type *identifier;
They both declares a pointer called identifier of Type , right?. I came across these two kinds of declarations in different books, it used to be really confusing to me, because I got muddled of the latter version with deferencing, which use the '*' in front of the identifier. Please clarify for me. Thanks.
Type* identifier;
Type *identifier;
They both declares a pointer called identifier of Type , right?. I came across these two kinds of declarations in different books, it used to be really confusing to me, because I got muddled of the latter version with deferencing, which use the '*' in front of the identifier. Please clarify for me. Thanks.