void func(**ptr, size){
여기다 해야하는데
*ptr = (struct*)malloc(sizeof(struct)*size);
ptr = (struct**)malloc(sizeof(struct*)*size);

}

둘중 뭐가 맞나요