So…say I had a function like this…
int function( const char *c )
{
//do something with the char *c here...
}
what does char *c mean? I know about chars in general I think but I don’t get what the * does…or how it changes the meaning.
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.
It means that this is a pointer to data of type char.