Jumping back to quzah's reply earlier in the thread for a second, I know there's no need to cast a malloc() call, but is there a stronger reason as to why you shouldn't?
Jumping back to quzah's reply earlier in the thread for a second, I know there's no need to cast a malloc() call, but is there a stronger reason as to why you shouldn't?
Yeah, read the FAQ
http://faq.cprogramming.com/cgi-bin/...&id=1043284351
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.