Question: void myTokenizer(char data[], char list_tok[100][100], char delimiter) Your function should store the tokens in the list_tok and split the data array on the basis of
void myTokenizer(char data[], char list_tok[100][100], char delimiter)
Your function should store the tokens in the list_tok and split the data array on the basis of delimiter. Call the function in main and print the list_tok. You can take the size of 2D char list_tok[100][100] and char data[100]; Start traversing the data array until you find delimiter. Once you find the delimiter store the first token in the first row of 2D array list_tok. Now find second token and store in the second row of list_tok and so on
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
