3
Good morning guys, I wonder if I can do something like this...
typedef struct Result
{
int low, high, sum;
} Result;
Result teste(){
return {.low = 0, .high = 100, .sum = 150};
}
I know this wouldn’t be the right way, but there is some way to do it or I have to create a temporary variable in the function to receive the values and then return it?