I have this code.c in ubuntu in terminal but when I compile it with gcc this error appeared
cod2.c: In function ‘main’:
cod2.c:9:11: error: subscripted value is neither array nor pointer nor vector
why is that?
int main(int argc , char ** argv){
mkdir(argc[1] , 00755);
return 0;
}