Whenever it comes to use malloc in programming with C, I typecast the malloc() function. This is something I do for quite a while, but never questioned it — until now. I learned that doing so is considered “bad programming practice” by some in the C community and for me a reason to talk about it.
#typecasting #malloc #bad
If you have further questions, useful feedback, or an idea for a C-related topic to talk through please leave a comment. From time to time I will come back on your issues in upcoming episodes.
And if you liked this episode please give it a thumbs up, if you want to see more video like this, subscribe to this channel and don't forget to hit the bell if you want to stay informed, when new episodes are released.
Sources & Links:
https://github.com/jagottsicher/myCTa...
P.S.: If you're interested to learn programming basics in #Google's #programming #language #Go feel free to have a look at my course on #Udemy: https://www.udemy.com/course/learn-pr...