Hi!
success afterall ...
I used following to allocate memory to arg
for (i=1;i<4;i++)
if ((arg[i] = (char *) malloc (30)) == NULL)
{
printf ("Error allocating memory");
exit(1);
}iz there ny other method to allocate memory to array of pointers? _______________________________________________ http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

