Para que serve o "Malloc", "Calloc" e "Relloc"? | SoloLearn: Learn to code for FREE!

+3

Para que serve o "Malloc", "Calloc" e "Relloc"?

c++

9/17/2019 9:51:29 AM

Gabriel Caldeira Bicalho

1 Answer

New Answer

+2

- malloc: is used for the "Memory ALLOCATION" you enter the number of bytes that you need. - calloc: it is like malloc but with initialization at 0 value. - realloc is used to re- allocate a new number of bytes. Please in the next time write in English it's good to find lot of answers!!