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
int main() { int n,j; cin>>n; char a[100][100]; for(int i=1;i<=n;i++){ j=1; while(a[i][j]!=EOF){ a[i][j]=getchar(); j++; } }