I'm trying to pass a struct pointer to a function and initialize the struct via pointer. Any idea why this isn't working?

```
struct Re
{
    int length;
    int width;
};

void test (Re*);

int main()
{
    Re* blah = NULL;
    test(blah);
    cout << blah->width;
    return 0;
}

void test(Re *t) {
    t = new Re{5, 5};
}

```

What am I doing wrong?