B
Bill Cunningham
Now there is something new I've never heard of til now from reading a C
book called "pass by address". Now am I understanding it right. I will use
this example.
I think scanf might be like this. The second parameter by wanting a pointer
is usually passed the address of the pointee using the ampersand (In know
there's an elipsis there). But a value is decalred and initialized. Their is
no pointer addresss involved. Is that "pass by address"?
int a=15;
scanf("%d\n",&n);
See no pointer address. But a pointee address is passed. The /value/ is 15.
Hope I'm clear.
book called "pass by address". Now am I understanding it right. I will use
this example.
I think scanf might be like this. The second parameter by wanting a pointer
is usually passed the address of the pointee using the ampersand (In know
there's an elipsis there). But a value is decalred and initialized. Their is
no pointer addresss involved. Is that "pass by address"?
int a=15;
scanf("%d\n",&n);
See no pointer address. But a pointee address is passed. The /value/ is 15.
Hope I'm clear.