Nikhil Joshi wrote:

 > char *arg[4];

And now that you know how to malloc, I'd like to suggest a
better approach -

   char arg[4][30];

That way you don't have to bother about malloc and in your case
I think you don't need to malloc.

Manish


_______________________________________________
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to