Question: How can I `push_back` a `struct` into a vector?

```
struct point {
    int x;
    int y;
};

std::vector<point> a;

a.push_back( ??? );

```

Answer: 
```
struct point {
    int x;
    int y;
};

vector <point> a;

a.push_back( {6,7} );
a.push_back( {5,8} );

```

Use the curly bracket.
We should use emplace\_back() for user defined data types such as structs.We can use it even with primitive data types as well.