Code:
void process()
{
for (name; <10; name+1)
printf("Your name is %s/n",name);
}
That section has a few bugs in it . . .
First off . . . for (name; <10; name+1) is incorrect. Try for (; name<10; name++) instead.
Now, printf("Your name is %s/n",name); again, has a bit of a problem. I'll let you find it, but one tip: /.
Also, what's that return 1; doing there?
Remember that bash is the opposite of C: 0 is true, successful, and !0 is false, unsuccessful. Just to confuse you some more. :P
EDIT: A-whoops-a-dasies. Didn't notice the double post. My apologies.