What does the first letter "c" mean in "calloc"?

来源:互联网 发布:学霸是怎样炼成的 知乎 编辑:程序博客网 时间:2024/05/17 23:24

The 'c' indicates 'cleared.' The allocated memory is initialised, or cleared. The initialisation value used by calloc is 0.

http://answers.yahoo.com/question/index?qid=20080217131743AAlmmpy

原创粉丝点击