Possible Duplicate:
In C, what is the correct syntax for declaring pointers?
Correct C pointer notation
What is the difference between
int* x
and
int *x
(if one exists) ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They both the same. Only difference is that you cant declare many variables in such way:
I use first notation, for me it shows that variable has pointer type, not pointer itself.