Question: Implement argparse function in C & please add comment to explain your code, thank you. /* * * Argparse takes in a String and returns
Implement argparse function in C & please add comment to explain your code, thank you.
/*
*
* Argparse takes in a String and returns an array of strings from the input.
* The arguments in the String are broken up by whitespaces in the string.
* The count of how many arguments there are is saved in the argcp pointer
*/
char** argparse(char* line, int* argcp) {
//write your code here
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
