Question: Suppose the subsequent line of data is entered at the keyboard:
1 5.2 a,b
Provide the corresponding memory snapshot, and the value of the stream state flags, after each of the subsequent sets of statements is executed:
Part 1: int i(0), j(0);
double x, y;
char ch1, ch2;
cin >> x >> y >> ch1 >> ch2;
Part 2: int i(0), j(0);
double x, y;
char ch1, ch2;
cin >> x >> i >> j >> ch1 >> ch2;
Part 3: int i(0), j(0);
double x, y;
char ch1, ch2;
cin >> i >> j >> ch1 >> ch2;
Part 4: int i(0), j(0);
double x, y;
char ch1, ch2;
cin >> i >> j >> x >> ch1 >> ch2;
Can you please show me an example of a C++ Class that has a dynamic array of a string that takes in names by user input??