1

I am confused about the assignment between the two. Look at the follow code.

char **argv;
const char**p = argv;   // compile error

char * cp;
const char * ccp = cp;  // no compile error

But the question one of the similar question may have some conflicts with mine. He can compile with the above code. problem: how do I understand the assignment?

Community
  • 1
  • 1
kkwang
  • 247
  • 2
  • 11

0 Answers0