I'm new to C programming and trying to figure out why I'm getting an error trying to pass the char variable into the function
char cmd[100];
getLine(&cmd, &line);
function declaration:
int getLine(char *cmdl, char *str)
Error:
cannot convert char (*)[100] to char* for argument 1 to int getLine(char*, char*)