In a normal c/c++ program we write main function as either
int main(int c, char **argv)
or
int main(int c, char *argv[])
Here argv represents an array of pointers but we even represent
double pointer(pointer to pointer) using **.
ex:
char p,*q,**r;
q=&p;
r=&q;
Here r is a double pointer and not array of pointers.
Can any one explain the difference?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…