Why am I getting 0 in an index out-bounds after allocating memory with calloc() instant of an error?

后端 未结 0 1970
旧巷少年郎
旧巷少年郎 2021-01-07 16:04

I would like to ask you about some doubt I have about memory allocation with calloc;

I am trying to create a bool 2d matrix which would be represented by 0 for false

相关标签:
回答
  • 消灭零回复
提交回复
热议问题