Is it safe to pass nullptr to C function?

后端 未结 0 1782
耶瑟儿~
耶瑟儿~ 2020-12-14 01:31

I have some library written in pure C. Now I\'m creating some unit tests but the testing library is written in C++ rather than C. When I pass NULL to API function under test

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