Re: c interview



gkumar007@xxxxxxxxx said:

Hi Benson,
http://c-faq.com/malloc/cast.html
http://c-faq.com/malloc/mallocnocast.html
I would modify the sources appropriately.
Done.
I have modified the sources (except one) using malloc to not to cast.

Anything else needs to be corrected?

Yes. I'll get back to you when I have more time - hopefully later today. If
I haven't replied by, say, six hours from the time this arrives on your
server, reply to this message.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
.



Relevant Pages

  • Re: c interview
    ... I would modify the sources appropriately. ... I have modified the sources using malloc to not to cast. ... use `apoelstra' at the above domain. ...
    (comp.lang.c)
  • Re: c interview
    ... I would modify the sources appropriately. ... I have modified the sources using malloc to not to cast. ... superficial bugs - the ones the author put in deliberately (because that's ...
    (comp.lang.c)
  • Re: c interview
    ... I would modify the sources appropriately. ... I have modified the sources using malloc to not to cast. ... Gowri Kumar ...
    (comp.lang.c)
  • Re: c interview
    ... I would modify the sources appropriately. ... I have modified the sources using malloc to not to cast. ... I've lost the original message. ...
    (comp.lang.c)
  • Re: problem with memcpy and pointers/arrays confusion - again
    ... this second method is known as an explicit conversion, or cast. ... The cast, in effect, tells the compiler: ... the malloc function. ... function taking a size_t as a parameter and returning a void pointer (i.e. ...
    (comp.lang.c)