main()
{
bar *t;
foo(*t);//version that works
foo(t); //compile error
}
when i call foo(*t), is the program making a copy of the value pointed to by t and then passing the address to foo, or does it just pass the address of the value pointed to by t?
when i call foo(*t), is the program making a copy of the value pointed to by t and then passing the address to foo, or does it just pass the address of the value pointed to by t?