how to globally initlailize a struct

C
struct Y {
    int r;
    int s;
    int t;
};

struct Y y = { .r = 1, .s = 2, .t = 3 };
Source

Also in C: