Good morning, I'd like to know 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 would not be a right way, but is there any way to do this or do I have to create a temporary variable in the function to get the values and then return it?