can anyone see my code why it is showing segmentation fault input: 3 def de fgh
#include<bits/stdc++.h>
using namespace std;
int main()
{
vector<string> v;
int n;
cin >> n;
for (int i = 0; i < n; ++i)
{
cin >> v[i];
}
for(auto x : v)
cout << x << endl;
return 0;
}