| ▲ | nvme0n1p1 4 hours ago | |
Basically all commonly used languages support this nowadays. Even ones you might not expect like C++ and C# have added it. The only major exceptions that come to mind are C and Java. | ||
| ▲ | RossBencina 2 hours ago | parent [-] | |
You have been able to return a struct by value in C since at least C89:
You can't return a bare fixed-size array though. | ||