Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

Just a small suggestion. You need not cast the result of malloc. This is because malloc returns the type void* which is automatically converted to the pointer its getting assigned to.

Here's a good post for further reading : clickclick

Just a small suggestion. You need not cast the result of malloc. This is because malloc returns the type void* which is automatically converted to the pointer its getting assigned to.

Here's a good post for further reading : click

Just a small suggestion. You need not cast the result of malloc. This is because malloc returns the type void* which is automatically converted to the pointer its getting assigned to.

Here's a good post for further reading : click

deleted 5 characters in body
Source Link
Cherubim
  • 391
  • 1
  • 12

Just a small suggestion. You need not cast the return typeresult of malloc. This is because malloc returns the type void* which is automatically converted to the pointer its getting assigned to.

Here's a good post for further reading : click

Just a small suggestion. You need not cast the return type of malloc. This is because malloc returns the type void* which is automatically converted to the pointer its getting assigned to.

Here's a good post for further reading : click

Just a small suggestion. You need not cast the result of malloc. This is because malloc returns the type void* which is automatically converted to the pointer its getting assigned to.

Here's a good post for further reading : click

Source Link
Cherubim
  • 391
  • 1
  • 12

Just a small suggestion. You need not cast the return type of malloc. This is because malloc returns the type void* which is automatically converted to the pointer its getting assigned to.

Here's a good post for further reading : click