文具盒
Does a pointer in .h automatically get set to NULL?
If I declare a pointer to a struct in .h for example: my_struct_t *ptr; ... and then I check 开发者_运维技巧if(ptr==NULL) in the code, without actually setting ptr to NULL or allocating memory for[详细]
2022-12-20 15:47 分类:问答