M
mandark_br
I have a function that returns a int pointer to a allocated memory.
How I know the size of this allocated memory?
Compiler = gcc
Ex.:
int main(void)
{
int *pointer;
pointer = fakefunc();
/* How I know the size of allocated memory?? */
return 0;
}
How I know the size of this allocated memory?
Compiler = gcc
Ex.:
int main(void)
{
int *pointer;
pointer = fakefunc();
/* How I know the size of allocated memory?? */
return 0;
}