2 of 2
replaced http://stackoverflow.com/ with https://stackoverflow.com/
In addition to what has already been said, never typecast the result of malloc/calloc in C. That is dangerous practice. Read this and this.
Lundin
- 4.9k
- 16
- 29
default