#define int_p int*
int_p p1,p2,p3; // only p1 is a pointer !
can somebody exlplain why it is so.
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.
#defineis just a textual substitution. The code above is equivalent toso only
p1is a pointer. You needinstead.