As i know, i can create an array with item inside such as:
char *test1[3]= {\"arrtest\",\"ao\", \"123\"};
but how can i store my input into arr
try below code:
char *input[10]; input[0]=(char*)malloc(25);//mention the size you need.. scanf("%s",input[0]); printf("%s",input[0]);