Most errors that I see in the projects are related to the usage of this particular memset() function.
The most dangerous function in the C/C++ world
by Andrey Karpov
From the article:
Now I have another interesting observation. Using one or another function, the programmers can make mistakes. That is clear, you may say. But the probability of the error may also depend on the function. In other words, some functions provoke errors, and some don't. And now I am ready to name the function which causes most of the troubles and using which you have the biggest chance of an epic fail.
Add a Comment
Comments are closed.