Hi,
Have the following scenario in C. returning a copy of the structure which is not good should be passing back a structure pointer
How would i acahieve this .
any ideas..
int main(){
ret = fn(b);
}
retSt fn( char *p)
{
st result ;
fnb(&result);
return st;
}
Have the following scenario in C. returning a copy of the structure which is not good should be passing back a structure pointer
How would i acahieve this .
any ideas..
int main(){
ret = fn(b);
}
retSt fn( char *p)
{
st result ;
fnb(&result);
return st;
}
Comment