#include #include main() { char buf[100] = "token1=value1\ntoken2=value2"; char *bp = buf; char *tok; char *tok2; int index1 = 0; int i = 1; char my_array[2]; // = {1,23,17,4,-5,100}; char *ptr; //int *ptr; while (tok2 = strsep(&bp,"\n")) { while (tok = strsep(&tok2,"=")) { my_array[index1] = tok; //my_array[index1] = index1+10; index1=index1+1; } puts("\n"); } ptr = &my_array[0]; printf("\n\n"); for (i ...