Can we initialize memory to 0 for newly allocated memory generated by realloc?
I am allocating 4 bytes of memory using calloc. Now i need more 4 bytes, So i use realloc. But for newly allocated memory block of 4 bytes i need to initialize the memory to 0
Aucun commentaire:
Enregistrer un commentaire