I want to get an array of strings from user. I am getting the exception "Segmentation Fault [Core Dumped]" on runtime.

```
#include <iostream>
#include <iomanip>
#include <math.h>
#include <string.h>
using namespace std;

int main() {
    long testCaseCount = 0;
    cin >> testCaseCount;
    char **testCases;
    *testCases = new char[testCaseCount];
    for(int i=0;i<testCaseCount;i++) {
        cin >> testCases[i];
    }
}

```