J
Jean-François Lemaire
Hello,
In the answer to question 4.8 I see this code (copied and pasted):
-------------------------
void f(ipp)
int **ipp;
{
static int dummy = 5;
*ipp = &dummy;
}
....
int *ip;
f(&ip);
-------------------------
I'm confused about the two first lines. Should'nt the first one be
written 'void f(**ipp)' and the second one scrapped altogether?
If not, I don't understand how the above can be legal.
JFL
In the answer to question 4.8 I see this code (copied and pasted):
-------------------------
void f(ipp)
int **ipp;
{
static int dummy = 5;
*ipp = &dummy;
}
....
int *ip;
f(&ip);
-------------------------
I'm confused about the two first lines. Should'nt the first one be
written 'void f(**ipp)' and the second one scrapped altogether?
If not, I don't understand how the above can be legal.
JFL