Ok, well a function can only return a scalar, so a pointer to the function
But I want to say
mystruct= *(myfunction(mystruct,....))
my_structure *myfunction(my_structure mystruct,....){
return(&mystruct); }
why does not this work and how can I accomplish it WITHOUT
passing &mystruct to the function
?
But I want to say
mystruct= *(myfunction(mystruct,....))
my_structure *myfunction(my_structure mystruct,....){
return(&mystruct); }
why does not this work and how can I accomplish it WITHOUT
passing &mystruct to the function
?