why I this peace of compiles without error :
#include <stdio.h>
int main(int argc, char *argv[]){
return 0;
}
but it doesn't :
#include <stdio.h>
int main(int argc, char argv[][]){
return 0;
}
I know char **argv
and char *argv[]
are the same,but what's difference between char *argv[]
and char argv[][]
?
I think my question is different than this question, it's about difference between *argv[]
and **argv
.