>>Let me start by asking how long you've been doing C, prelude?
>Coming up on ten years. Wow, kinda scary.
Good: I still have nine and a half years to actually learn C. LOL.
Anyway, so if I have
char p[] = "hello";
char *s;
and I want to pass it to reverse, will this work?
s = reverse(p);
I assume not but how can I pass the array to the function, so that the function can manipulate it?
Thinking about your explanation about the difference between pointers and arrays, prelude, I ask this: if pointers are read-only, then howcome functions like fgets take a pointer as an argument and change it so it points to something different ?
I appreciate all your help. And thanx to Hammer for the links. On a personal note, hammer, Binky and I have become good friends and I'll start reading the other stuff on that site right now.