int * const const * b
What does it mean? cdecl says declare b as pointer to const const pointer to int.
Can someone explain it?
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.
const constis redundant, it will reduce toconst.So let’s rewrite that:
So
bis a pointer to a const pointer to an int. With an example: