I'm trying to learn how to use structures, but I'm stuck with (probably very simple) problem. How do I refer to variable x, which is stored by the structure POINT, which belongs RECT structure? Beginnings are always difficult for me.

```
#include <iostream>
using namespace std;    

struct Point {
    int x, y;
};

struct Rect {
    Point bottom_left, top_right;
};

void printPoint(const Point* p){
    cout << "(" << p->x << "," << p->y << ")";
}

void printRect(const Rect* r){
    cout << "["; printPoint(&r->top_right);
    cout << ","; printPoint(&r->bottom_left);
    cout << "]" << endl;
}

bool haveIntersection(const Rect* r1, const Rect* r2){
    cout << &r1->bottom_left->x;
}

int main() {
    Rect r1 = { {1,1}, {4,3} };
    Rect r2 = { {2,0}, {3,4} };
    Rect r3 = { {0,4}, {1,5} };
    printRect(&r1);
    haveIntersection(&r1, &r2);
}

```