Domanda di colloquio di Qualcomm

what is malloc?

Risposta di colloquio

Anonimo

12 gen 2021

Memory allocation function to allocate heap memory and it returns a void pointer to the request memory. Syntax - int *p = malloc(sizeof(*p));