R
Ryan Wang
Hi,
here is the function:
int sum(int a,int b)
{
int c;
c = a + b;
return c;
}
How many spaces will system alloc for
it when calling the function?(4 Bytes
for an int)
I still have a lot of questions that makes
me confuse.such as the return value of
sizeof() func, where to alloc the memory for
the variable of the funcs etc.
And which book will discuss such questions
in detail?
Thanks,
Best Regard!
here is the function:
int sum(int a,int b)
{
int c;
c = a + b;
return c;
}
How many spaces will system alloc for
it when calling the function?(4 Bytes
for an int)
I still have a lot of questions that makes
me confuse.such as the return value of
sizeof() func, where to alloc the memory for
the variable of the funcs etc.
And which book will discuss such questions
in detail?
Thanks,
Best Regard!