Thanks fo your help Lim
I picked up some good tips
I was as you suspected trying to create an array
holding 20 names *name[21]
I am just learning about pointers and was 'trying' to use pointers to manipulate the input and output
also I tried to crate an array names[21][30]
and set a pointer for ir ie *n_ptr = names but I got an error
I am not familiar with malloc
is there a way of doing what I was trying to do just using pointers?
Thanks again
I picked up some good tips
I was as you suspected trying to create an array
holding 20 names *name[21]
I am just learning about pointers and was 'trying' to use pointers to manipulate the input and output
also I tried to crate an array names[21][30]
and set a pointer for ir ie *n_ptr = names but I got an error
I am not familiar with malloc
is there a way of doing what I was trying to do just using pointers?
Thanks again