Question: C 1.&&&&lsls& lsteststrruncommandteststr char *command=ls&ls; void runcommand(char*command){ } char **splitBysymble(){ char **teststr = malloc(sizeof(char *) * MAX_CMDLINE); //do split by &; return teststr; }
C
1.&&&&lsls& lsteststrruncommandteststr
char *command=ls&ls;
void runcommand(char*command){
}
char **splitBysymble(){
char **teststr = malloc(sizeof(char *) * MAX_CMDLINE);
//do split by &;
return teststr;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
