This is a blog for interview questions. The questions are primarily from certain web forums, BBS or books. The owner of this blog doesn't claim any copyright of those questions. The blog is established primarily to help the blog owner prepare job interviews.
Tuesday, June 28, 2011
The Myth of memset()
memset() according to its specification:
void * memset ( void * ptr, int value, size_t num );
However, the value will be converted to unsigned char before calling the actual memset().
No comments:
Post a Comment