Re: c interview



Hi Benson,
Glad to see your reply.

However, regular readers of comp.lang.c will find a number of
things to nitpick about that you (and many employers) have either
failed to account for or are simply unaware of.
Firstly, I'm not an expert in C programming and I'm still learning.
It's an effort I'm making to share the little knowledge I have gained
with others and also to learn more in the process
I would be grateful, if you/anyone here can point out all the mistakes
and provide the suggestions to make it better.

To cite possibly the
most obvious example, the return value of malloc() is always cast in
your sample questions; a quick Google search of this group's archives
will reveal that the experts' consensus is that this is a bad idea, an
opinion shared by the FAQ:

http://c-faq.com/malloc/cast.html
http://c-faq.com/malloc/mallocnocast.html
I would modify the sources appropriately.

I believe a thorough reading of the FAQ will help you improve both
your quiz and your practical knowledge of C.
Thanks for the suggestion. I will do that soon.

Also, if anyone has else has feedback on the questions, please feel
free to send them across to me.

Have a terrific day!!!

Regards,
Gowri Kumar

.