[ILUG-BOM] Buggy C prog

Nikhil Joshi nikhiljoshi@[EMAIL-PROTECTED]
Sat Sep 28 08:03:11 IST 2002


On Thu, 26 Sep 2002, Shailesh wrote:

> /* ok .. looking nice.. but then if i don't clear the grave
> after buried r (scope)deceased.. my burial ground will b
> filled too */
> #define NO_OF_ARGS
> char **arg;
> arg = (char **) calloc (NO_OF_ARGS, sizeof(char *));
>
> for(i=0;i<NO_OF_ARGS; i++){
>   arg[i] = (char *) calloc (BUF_SIZE, sizeof(char));
> }
> /* ok.. i m digging the burial ground too !*/
>

heck, these pointers are making me feel dizzy already ;)
i guess i gotta refer kanetker or balguruswamy urgently ...

(didn't study the thing properly in my regular course , in fact most of
the junta leaves pointers for 'option' )

anywayz thx guys 4 the suggestions

--
Nikhil Joshi







More information about the Linuxers mailing list