In one of the C++ programs, I saw a function prototype : int Classifier::command(int argc, const char*const* argv)
What does const char*const* argv mean? Is it the same as const char* argv[]?
Does const char** argv also mean the same?
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.
No, it’s not the same as
const char *argv[]. Theconstprohibits modifications of the dereferenced value at the particular level of dereferencing: